summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-11-14 11:10:15 -0500
committerBen Sima <ben@bsima.me>2020-11-14 11:11:28 -0500
commit483510d07d54004b8690663b30382da702bfde73 (patch)
tree44ec45cc422bc2197519f03957c5bfc0e2ab8877 /lib
parent0c58c287a257389558470591444b14ab9e340475 (diff)
Add zebra package
Diffstat (limited to 'lib')
-rw-r--r--lib/packages.nix18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/packages.nix b/lib/packages.nix
index b607677..5b03f24 100644
--- a/lib/packages.nix
+++ b/lib/packages.nix
@@ -4,7 +4,22 @@
with pkgs;
-[
+let
+ zebra = pkgs.stdenv.mkDerivation {
+ name = "zebra";
+ src = fetchGit {
+ url = "https://github.com/jb55/zebra";
+ ref = "master";
+ rev = "8fd29bc1c2e9b7b695d61e0f1329c819f57f74bb";
+ #sha256 = "11apyy90n26l3c4diqg8y8m4a4ndz9mp8nr8prcxkcsckpa3vqi2";
+ };
+ buildPhase = "make";
+ installPhase = ''
+ mkdir -p $out/bin
+ cp ./zebra $out/bin
+ '';
+ };
+in [
ag
aspellDicts.en
cabal2nix
@@ -42,5 +57,6 @@ urlscan
vimpager
w3m
whois
+zebra
zip
]