zfs_2_2: 2.2.3 -> 2.2.4

Now compatible with Linux 6.8.

https://github.com/openzfs/zfs/releases/tag/zfs-2.2.4

Need to patch py-libzfs to support incompatible API change.
This commit is contained in:
Andrew Marshall 2024-05-02 17:53:18 -04:00
parent 2cbe063319
commit a1dcb54257
2 changed files with 12 additions and 4 deletions

View File

@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch2
, cython_0
, zfs
}:
@ -18,6 +19,13 @@ buildPythonPackage rec {
hash = "sha256-Uiu0RNE06++iNWUNcKpbZvreT2D7/EqHlFZJXKe3F4A=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/truenas/py-libzfs/commit/b5ffe1f1d6097df6e2f5cc6dd3c968872ec60804.patch";
hash = "sha256-6r5hQ/o7c4vq4Tfh0l1WbeK3AuPvi+1wzkwkIn1qEes=";
})
];
nativeBuildInputs = [ cython_0 ];
buildInputs = [ zfs ];

View File

@ -14,17 +14,17 @@ callPackage ./generic.nix args {
# this attribute is the correct one for this package.
kernelModuleAttribute = "zfs_2_2";
# check the release notes for compatible kernels
kernelCompatible = kernel.kernelOlder "6.8";
kernelCompatible = kernel.kernelOlder "6.9";
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_6;
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_8;
# this package should point to the latest release.
version = "2.2.3";
version = "2.2.4";
tests = [
nixosTests.zfs.installer
nixosTests.zfs.series_2_2
];
hash = "sha256-Bzkow15OitUUQ+mTYhCXgTrQl+ao/B4feleHY/rSSjg=";
hash = "sha256-SSp/1Tu1iGx5UDcG4j0k2fnYxK05cdE8gzfSn8DU5Z4=";
}