summaryrefslogtreecommitdiff
path: root/pkgs/zebra.nix
blob: 41f36163c8b34e46d97c566014cac7bca67d8fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv, fetchgit }:
stdenv.mkDerivation {
  name = "zebra";
  src = fetchgit {
    url = "https://github.com/jb55/zebra";
    rev = "8fd29bc1c2e9b7b695d61e0f1329c819f57f74bb";
    sha256 = "sha256-IuI91J1Ms9lZvihbdGv6zRJFKvLo4dgIG9QIC5L3V4U=";
  };
  buildPhase = "make";
  installPhase = ''
    mkdir -p $out/bin
    install -m755 ./zebra $out/bin
  '';
}