mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
27 lines
686 B
Nix
27 lines
686 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libnfsidmap-0.25";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${name}.tar.gz";
|
|
sha256 = "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5";
|
|
};
|
|
|
|
postPatch = ''
|
|
sed -i '1i#include <sys/types.h>' cfg.h
|
|
'';
|
|
|
|
preConfigure =
|
|
''
|
|
configureFlags="--with-pluginpath=$out/lib/libnfsidmap"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://www.citi.umich.edu/projects/nfsv4/linux/;
|
|
description = "Library for holding mulitiple methods of mapping names to id's and visa versa, mainly for NFSv4";
|
|
license = "BSD";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|