shithub: 9pro

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