mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
4353727ac8
The glibc maintainers in their wisdom have dropped RPC support. That change causes plenty of builds to fail, like PAM. Users are supposed to use libtirpc instead, which, naturally, doesn't compile with glibc 2.14. I'm adding the library anyway, just so that we have it. svn path=/nixpkgs/branches/stdenv-updates/; revision=30029
23 lines
578 B
Nix
23 lines
578 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
version = "0.2.2";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "libtirpc-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libtirpc/libtirpc-${version}.tar.bz2";
|
|
sha256 = "f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "http://sourceforge.net/projects/libtirpc/";
|
|
description = "a port of Suns Transport-Independent RPC library to Linux";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
};
|
|
}
|