2012-03-20 23:17:45 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libnfsidmap-0.25";
|
2018-04-23 04:25:35 +01:00
|
|
|
|
2012-03-20 23:17:45 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${name}.tar.gz";
|
|
|
|
sha256 = "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5";
|
|
|
|
};
|
|
|
|
|
2018-04-23 04:25:35 +01:00
|
|
|
postPatch = ''
|
|
|
|
sed -i '1i#include <sys/types.h>' cfg.h
|
|
|
|
'';
|
|
|
|
|
2012-03-21 11:56:04 +00:00
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
configureFlags="--with-pluginpath=$out/lib/libnfsidmap"
|
|
|
|
'';
|
|
|
|
|
2012-03-20 23:17:45 +00:00
|
|
|
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";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-03-20 23:17:45 +00:00
|
|
|
};
|
|
|
|
}
|