forked from mirrors/nixpkgs
rpcbind: 0.2.3 -> 1.0.7
This commit is contained in:
parent
4f928f3550
commit
5c31245047
|
@ -1,16 +1,19 @@
|
||||||
{ fetchurl, stdenv, pkgconfig, libtirpc
|
{ fetchurl, stdenv, pkgconfig, libtirpc
|
||||||
, useSystemd ? true, systemd }:
|
, useSystemd ? true, systemd }:
|
||||||
|
|
||||||
let version = "0.2.3";
|
let version = "1.0.7";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "rpcbind-${version}";
|
name = "rpcbind-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/rpcbind/${version}/${name}.tar.bz2";
|
url = "mirror://sourceforge/rpcbind/${version}/${name}.tar.bz2";
|
||||||
sha256 = "0yyjzv4161rqxrgjcijkrawnk55rb96ha0pav48s03l2klx855wq";
|
sha256 = "14vl0kmavc1fay630f4w8l1hjfzhmcqm8d0akzahhgymh5fw1f7r";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./sunrpc.patch ];
|
patches = [ ./sunrpc.patch ];
|
||||||
|
postPatch = ''
|
||||||
|
sed -e 's|/usr/include/tirpc|${libtirpc}/include/tirpc|' -i src/Makefile.am -i src/Makefile.in
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ libtirpc ]
|
buildInputs = [ libtirpc ]
|
||||||
++ stdenv.lib.optional useSystemd systemd;
|
++ stdenv.lib.optional useSystemd systemd;
|
||||||
|
|
Loading…
Reference in a new issue