nixpkgs/pkgs/tools/networking/nbd/default.nix
Peter Simons de867f283d pkgs/tools/networking/nbd: updated to version 2.9.20
svn path=/nixpkgs/trunk/; revision=25769
2011-02-03 12:36:19 +00:00

22 lines
614 B
Nix

{stdenv, fetchurl, pkgconfig, glib}:
stdenv.mkDerivation rec {
name = "nbd-2.9.20";
src = fetchurl {
url = "mirror://sourceforge/nbd/${name}.tar.bz2";
sha256 = "98f0de421f0b2f683d46dff3eb679a3409a41f08e6fad7c2f71f60c5d409939c";
};
buildInputs = [pkgconfig glib];
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"'';
meta = {
homepage = "http://nbd.sourceforge.net";
description = "map arbitrary files as block devices over the network";
license = "GPLv2";
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.all;
};
}