blob: 7b652bd68aa09b2435581b948e3a174cc8d0bc26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, stdenv, fetchFromGitHub, pkg-config, fuse, gitUpdater }:
stdenv.mkDerivation rec {
pname = "9pfs";
version = "0.3";
src = fetchFromGitHub {
owner = "ftrvxmtrx";
repo = "9pfs";
rev = version;
sha256 = "sha256-ywWG/H2ilt36mjlDSgIzYpardCFXpmbLiml6wy47XuA=";
};
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";
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.unix;
license = with lib.licenses; [ lpl-102 bsd2 ];
};
}
|