about summary refs log tree commit diff
path: root/pkgs/tools/networking/xnbd/default.nix
blob: 40351fbd13015fb2bae2d1d55e0341dadc1f53eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, jansson, asciidoc, libxml2, libxslt, docbook_xml_dtd_45 }:

stdenv.mkDerivation rec {
  name = "xnbd-0.4.0";

  src = fetchurl {
    url = "https://bitbucket.org/hirofuchi/xnbd/downloads/${name}.tgz";
    sha256 = "00wkvsa0yaq4mabczcbfpj6rjvp02yahw8vdrq8hgb3wpm80x913";
  };

  sourceRoot = "${name}/trunk";

  nativeBuildInputs = [ autoreconfHook pkgconfig ];

  buildInputs = [ glib jansson asciidoc libxml2 libxslt docbook_xml_dtd_45 ];

  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;
  };
}