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