mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
34 lines
894 B
Nix
34 lines
894 B
Nix
{ 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";
|
|
mainProgram = "9pfs";
|
|
maintainers = [ lib.maintainers.eelco ];
|
|
platforms = lib.platforms.unix;
|
|
license = with lib.licenses; [ lpl-102 bsd2 ];
|
|
};
|
|
}
|