2012-03-21 21:35:15 +01:00
|
|
|
{ fetchurl, stdenv, libtirpc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rpcbind-0.2.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 03:17:07 +02:00
|
|
|
url = "mirror://sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2";
|
2012-03-21 21:35:15 +01:00
|
|
|
sha256 = "c92f263e0353887f16379d7708ef1fb4c7eedcf20448bc1e4838f59497a00de3";
|
|
|
|
};
|
|
|
|
|
2012-03-22 12:16:28 +01:00
|
|
|
patches = [ ./sunrpc.patch ];
|
|
|
|
|
2012-03-21 21:35:15 +01:00
|
|
|
preConfigure = ''
|
|
|
|
export CPPFLAGS=-I${libtirpc}/include/tirpc
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ libtirpc ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ONC RPC portmapper";
|
2014-12-21 00:00:35 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2012-03-21 21:35:15 +01:00
|
|
|
longDescription = ''
|
|
|
|
Universal addresses to RPC program number mapper.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|