{ 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
  '';
}