Merge pull request #164385 from twz123/libnbd-fuse3

libnbd: 1.9.5 -> 1.12.2
This commit is contained in:
Anderson Torres 2022-03-16 08:14:14 -03:00 committed by GitHub
commit e517a35b9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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