shithub: 9pro

ref: 507bd8e86d9f0f9d225d5a0ae7d6c3be0dbac085
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/"
  '';
}