diff --git a/pkgs/servers/rpcbind/default.nix b/pkgs/servers/rpcbind/default.nix new file mode 100644 index 000000000000..db543cd2c015 --- /dev/null +++ b/pkgs/servers/rpcbind/default.nix @@ -0,0 +1,24 @@ +{ fetchurl, stdenv, libtirpc }: + +stdenv.mkDerivation rec { + name = "rpcbind-0.2.0"; + + src = fetchurl { + url = "http://freefr.dl.sourceforge.net/project/rpcbind/rpcbind/0.2.0/rpcbind-0.2.0.tar.bz2"; + sha256 = "c92f263e0353887f16379d7708ef1fb4c7eedcf20448bc1e4838f59497a00de3"; + }; + + preConfigure = '' + export CPPFLAGS=-I${libtirpc}/include/tirpc + ''; + + buildInputs = [ libtirpc ]; + + meta = { + description = "ONC RPC portmapper"; + license = "BSD"; + longDescription = '' + Universal addresses to RPC program number mapper. + ''; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8e0bb1e0bc0a..ccd1fe806d86 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5126,6 +5126,8 @@ let portmap = callPackage ../servers/portmap { }; + rpcbind = callPackage ../servers/rpcbind { }; + monetdb = callPackage ../servers/sql/monetdb { }; mongodb = callPackage ../servers/nosql/mongodb { useV8 = (getConfig ["mongodb" "useV8"] false); };