3
0
Fork 0
forked from mirrors/nixpkgs

libnbd: 1.9.5 -> 1.12.2

Add fuse3 as dependency, so that FUSE support gets enabled, and the
`nbdfuse` binary gets built.
This commit is contained in:
Tom Wieczorek 2022-03-16 09:06:19 +01:00
parent b8683514ea
commit 673049d19b
No known key found for this signature in database
GPG key ID: FE33A2282371E831

View file

@ -6,16 +6,17 @@
, perl
, libxml2
, fuse
, fuse3
, gnutls
}:
stdenv.mkDerivation rec {
pname = "libnbd";
version = "1.9.5";
version = "1.12.2";
src = fetchurl {
url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-development/${pname}-${version}.tar.gz";
hash = "sha256-BnMoxIiuwhqcwVr3AwAIFgZPcFsIg55N66ZwWMTUnCw=";
url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-stable/${pname}-${version}.tar.gz";
hash = "sha256-57veJapt72LkP02wO4c1nDdHmnodqfT+rKPNDeTGQPM=";
};
nativeBuildInputs = [
@ -26,6 +27,7 @@ stdenv.mkDerivation rec {
buildInputs = [
fuse
fuse3
gnutls
libxml2
];
@ -55,7 +57,6 @@ stdenv.mkDerivation rec {
platforms = with platforms; linux;
};
}
# TODO: NBD URI support apparently is not enabled
# TODO: package the 1.6-stable version too
# TODO: git version needs ocaml
# TODO: bindings for go, ocaml and python