1 { lib, stdenv, fetchFromGitHub, pkg-config, fuse, gitUpdater }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-ywWG/H2ilt36mjlDSgIzYpardCFXpmbLiml6wy47XuA=";
15 substituteInPlace Makefile --replace "pkg-config" "$PKG_CONFIG"
18 makeFlags = [ "BIN=$(out)/bin" "MAN=$(out)/share/man/man1" ];
19 nativeBuildInputs = [ pkg-config ];
20 buildInputs = [ fuse ];
21 enableParallelBuilding = true;
23 passthru.updateScript = gitUpdater { };
26 homepage = "https://github.com/ftrvxmtrx/9pfs";
27 description = "FUSE-based client of the 9P network filesystem protocol";
30 platforms = lib.platforms.unix;
31 license = with lib.licenses; [ lpl-102 bsd2 ];