mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
9pfs: Add
This is a FUSE-based 9p client.
This commit is contained in:
parent
9dae6345f4
commit
79a3c8a952
2 changed files with 32 additions and 0 deletions
30
pkgs/tools/filesystems/9pfs/default.nix
Normal file
30
pkgs/tools/filesystems/9pfs/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fuse }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "9pfs";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spewspew";
|
||||
repo = "9pfs";
|
||||
rev = "7f4ca4cd750d650c1215b92ac3cc2a28041960e4";
|
||||
sha256 = "007s2idsn6bspmfxv1qabj39ggkgvn6gwdbhczwn04lb4c6gh3xc";
|
||||
};
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
substituteInPlace Makefile --replace '-g bin' ""
|
||||
installFlagsArray+=(BIN=$out/bin MAN=$out/share/man/man1)
|
||||
mkdir -p $out/bin $out/share/man/man1
|
||||
'';
|
||||
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/spewspew/9pfs;
|
||||
description = "FUSE-based client of the 9P network filesystem protocol";
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -474,6 +474,8 @@ let
|
|||
|
||||
### TOOLS
|
||||
|
||||
_9pfs = callPackage ../tools/filesystems/9pfs { };
|
||||
|
||||
"3dfsb" = callPackage ../applications/misc/3dfsb {
|
||||
glibc = glibc.override { debugSymbols = true; };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue