@@ -6,16 +6,17 @@
66, perl
77, libxml2
88, fuse
9+, fuse3
910, gnutls
1011}:
1112
1213stdenv.mkDerivation rec {
1314 pname = "libnbd";
14− version = "1.9.5";
15+ version = "1.12.2";
1516
1617 src = fetchurl {
17− url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-development/${pname}-${version}.tar.gz";
18− hash = "sha256-BnMoxIiuwhqcwVr3AwAIFgZPcFsIg55N66ZwWMTUnCw=";
18+ url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-stable/${pname}-${version}.tar.gz";
19+ hash = "sha256-57veJapt72LkP02wO4c1nDdHmnodqfT+rKPNDeTGQPM=";
1920 };
2021
2122 nativeBuildInputs = [
@@ -26,6 +27,7 @@ stdenv.mkDerivation rec {
2627
2728 buildInputs = [
2829 fuse
30+ fuse3
2931 gnutls
3032 libxml2
3133 ];
@@ -55,7 +57,6 @@ stdenv.mkDerivation rec {
5557 platforms = with platforms; linux;
5658 };
5759}
58−# TODO: NBD URI support apparently is not enabled
5960# TODO: package the 1.6-stable version too
6061# TODO: git version needs ocaml
6162# TODO: bindings for go, ocaml and python