nixpkgs-suyu/pkgs/tools/networking/xnbd/default.nix

25 lines
776 B
Nix
Raw Normal View History

2018-01-28 14:58:22 +01:00
{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, jansson, asciidoc, libxml2, libxslt, docbook_xml_dtd_45 }:
2018-01-28 14:57:48 +01:00
stdenv.mkDerivation rec {
2018-01-28 14:58:22 +01:00
name = "xnbd-0.4.0";
2018-01-28 14:57:48 +01:00
src = fetchurl {
2018-01-28 14:58:22 +01:00
url = "https://bitbucket.org/hirofuchi/xnbd/downloads/${name}.tgz";
sha256 = "00wkvsa0yaq4mabczcbfpj6rjvp02yahw8vdrq8hgb3wpm80x913";
2018-01-28 14:57:48 +01:00
};
2018-01-28 14:58:22 +01:00
sourceRoot = "${name}/trunk";
2018-01-28 14:57:48 +01:00
2018-01-28 14:58:22 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib jansson asciidoc libxml2 libxslt docbook_xml_dtd_45 ];
2018-01-28 14:57:48 +01:00
meta = {
homepage = https://bitbucket.org/hirofuchi/xnbd;
description = "Yet another NBD (Network Block Device) server program";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.volth ];
platforms = stdenv.lib.platforms.linux;
};
}