nbd: updated to 2.9.21

svn path=/nixpkgs/trunk/; revision=27207
This commit is contained in:
Peter Simons 2011-05-10 07:15:58 +00:00
parent 1dfe9e22d4
commit 455d173010

View file

@ -1,16 +1,19 @@
{ stdenv, fetchurl, pkgconfig, glib }:
stdenv.mkDerivation rec {
name = "nbd-2.9.20";
let
name = "nbd-2.9.21";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://sourceforge/nbd/${name}.tar.bz2";
sha256 = "98f0de421f0b2f683d46dff3eb679a3409a41f08e6fad7c2f71f60c5d409939c";
sha256 = "10265581da904a7dd75923035ee983ba801c5cdc5e581bc83dc7d70174b1d5b8";
};
buildInputs = [pkgconfig glib];
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"'';
# Glib calls `clock_gettime', which is in librt. Since we're using
# a static Glib, we need to pass it explicitly.
NIX_LDFLAGS = "-lrt";