mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
d905637b44
(http://hydra.nixos.org/build/2315333). svn path=/nixpkgs/trunk/; revision=33353
27 lines
599 B
Nix
27 lines
599 B
Nix
{ 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";
|
|
};
|
|
|
|
patches = [ ./sunrpc.patch ];
|
|
|
|
preConfigure = ''
|
|
export CPPFLAGS=-I${libtirpc}/include/tirpc
|
|
'';
|
|
|
|
buildInputs = [ libtirpc ];
|
|
|
|
meta = {
|
|
description = "ONC RPC portmapper";
|
|
license = "BSD";
|
|
longDescription = ''
|
|
Universal addresses to RPC program number mapper.
|
|
'';
|
|
};
|
|
}
|