Compare commits

..

2 Commits

Author SHA1 Message Date
0c144fb059
Add flake.nix 2023-04-10 19:09:20 +01:00
080f411e04
Replace default LICENSE 2023-04-10 19:06:08 +01:00
3 changed files with 52 additions and 1 deletions

View File

@ -1,4 +1,4 @@
Copyright (C) 2006 by Rob Landley <rob@landley.net>
Copyright (C) 2023 by Jordan Holt <jordan@vimium.com>
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

27
flake.lock generated Normal file
View File

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1681092589,
"narHash": "sha256-I11GYL+6yD6dX89H0WaMiptE52NZ2Tmx+rA23TUyfH8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "83ca2cd74539fb8e79d46e233f6bb1d978c36f32",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

24
flake.nix Normal file
View File

@ -0,0 +1,24 @@
{
description = "Vimium.com website";
inputs.nixpkgs.url = github:nixos/nixpkgs/nixpkgs-unstable;
outputs = { self, nixpkgs }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in {
defaultPackage.x86_64-linux = pkgs.stdenv.mkDerivation {
name = "vimium-www";
version = "1";
src = ./.;
installPhase = ''
mkdir -p $out
cp -r images $out
cp *.html $out
cp *icon* $out
'';
};
};
}