Merge pull request #202619 from NickCao/stratis

stratisd: 3.3.0 -> 3.4.0

Closes #203194

Changed files
+8 -10
nixos
tests
stratis
pkgs
tools
filesystems
stratis-cli
stratisd
+2 -3
nixos/tests/stratis/encryption.nix
···
# test rebinding encrypted pool
machine.succeed("stratis pool rebind keyring testpool testkey2")
# test restarting encrypted pool
-
uuid = machine.succeed("stratis pool list | grep -oE '[0-9a-fA-F-]{36}'").rstrip('\n')
-
machine.succeed(" stratis pool stop testpool")
-
machine.succeed(f"stratis pool start {uuid} --unlock-method keyring")
+
machine.succeed("stratis pool stop testpool")
+
machine.succeed("stratis pool start --name testpool --unlock-method keyring")
'';
})
+3 -3
pkgs/tools/filesystems/stratis-cli/default.nix
···
python3Packages.buildPythonApplication rec {
pname = "stratis-cli";
-
version = "3.3.0";
+
version = "3.4.0";
src = fetchFromGitHub {
owner = "stratis-storage";
repo = pname;
-
rev = "refs/tags/v${version}";
-
hash = "sha256-tS9kjXE7wn5j13PO8c3C98MpFbgmR4le/PNKoXKPKQg=";
+
rev = "v${version}";
+
hash = "sha256-kB8saMgNIoDCXhxCPG1Mwj7dxrev82leoewajA5g9IM=";
};
propagatedBuildInputs = with python3Packages; [
+3 -4
pkgs/tools/filesystems/stratisd/default.nix
···
stdenv.mkDerivation rec {
pname = "stratisd";
-
version = "3.3.0";
+
version = "3.4.0";
src = fetchFromGitHub {
owner = "stratis-storage";
repo = pname;
rev = "v${version}";
-
hash = "sha256-6CCSs359gPwUMQ2SFpxaWHXCjqqgIbvCaPL2zLuYRKg=";
+
hash = "sha256-SHrD9zzGLGSlsf4UOqp4Xday6IDnryVDHIVRiPbE5CM=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
-
hash = "sha256-9nE/SFGv1tYyGDdemCahxHlRnLms3eK0r4XQMhQBjSQ=";
+
hash = "sha256-lkuFWVmO+qw2ZXbCwdhU5OpRZy589QKnudgNVTgsJhI=";
};
postPatch = ''
···
EXECUTABLES_PATHS = lib.makeBinPath ([
xfsprogs
thin-provisioning-tools
-
udev
] ++ lib.optionals clevisSupport [
clevis
jose