2009-09-25 03:09:43 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, glib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-08-11 10:53:31 +01:00
|
|
|
name = "nbd-2.9.18";
|
2010-07-28 22:28:23 +01:00
|
|
|
|
2009-09-25 03:09:43 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/nbd/${name}.tar.bz2";
|
2010-08-11 10:53:31 +01:00
|
|
|
sha256 = "afaaae330625b61ad67ba988721ddc4ad54bfc7e501daeb45f721c205bfb00f3";
|
2009-09-25 03:09:43 +01:00
|
|
|
};
|
2010-07-28 22:28:23 +01:00
|
|
|
|
2009-09-25 03:09:43 +01:00
|
|
|
buildInputs = [pkgconfig glib];
|
2010-08-02 14:37:36 +01:00
|
|
|
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"'';
|
|
|
|
|
2010-07-28 22:28:23 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://nbd.sourceforge.net";
|
|
|
|
description = "map arbitrary files as block devices over the network";
|
|
|
|
license = "GPLv2";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2010-08-03 20:08:11 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-07-28 22:28:23 +01:00
|
|
|
};
|
2009-09-25 03:09:43 +01:00
|
|
|
}
|