shithub: 9pro

ref: 6258b8847d506dacf9c2651441d87004ab5c616d
dir: /nixos/ninepex.nix/

View raw version
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "9pex";
  src = fetchFromGitHub {
    owner = "ftrvxmtrx";
    repo = "9pro";
    rev = "dc8c3343ee6a06343bc75f58c693d86f924d66a7";
    sha256 = "1w08l0rm8hyijf00glscyii15cgn73wafrqrb06h59sx2af53jcn";
  };

  installPhase = ''
    ./build.sh
    mkdir -p "$out/bin"
    cp 9pex "$out/bin/"
  '';
}