Files
nixpkgs/pkgs/by-name/_9/_9pfs/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
911 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
fuse,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "9pfs";
version = "0.4";
src = fetchFromGitHub {
owner = "ftrvxmtrx";
repo = "9pfs";
tag = version;
sha256 = "sha256-nlJ4Zh13T78r0Dn3Ky/XLhipeMbMFbn0qGCJnUCBd3Y=";
};
postPatch = ''
substituteInPlace Makefile --replace "pkg-config" "$PKG_CONFIG"
'';
makeFlags = [
"BIN=$(out)/bin"
"MAN=$(out)/share/man/man1"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fuse ];
enableParallelBuilding = true;
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://github.com/ftrvxmtrx/9pfs";
description = "FUSE-based client of the 9P network filesystem protocol";
mainProgram = "9pfs";
maintainers = [ ];
platforms = lib.platforms.unix;
license = with lib.licenses; [
lpl-102
bsd2
];
};
}