mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
stratisd: 3.7.3 -> 3.8.0 (#389415)
This commit is contained in:
commit
a09d6bc43d
3 changed files with 12 additions and 10 deletions
|
@ -30,7 +30,7 @@ import ../make-test-python.nix (
|
|||
machine.succeed("stratis pool rebind keyring testpool testkey2")
|
||||
# test restarting encrypted pool
|
||||
machine.succeed("stratis pool stop --name testpool")
|
||||
machine.succeed("stratis pool start --name testpool --unlock-method keyring")
|
||||
machine.succeed("stratis pool start --name testpool --unlock-method any")
|
||||
'';
|
||||
}
|
||||
)
|
||||
|
|
|
@ -7,21 +7,21 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "stratis-cli";
|
||||
version = "3.7.0";
|
||||
version = "3.8.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stratis-storage";
|
||||
repo = pname;
|
||||
repo = "stratis-cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-F/RP/bWf2fV1IvNbrkYX3d94om1kACNe+oJI8pXM5P4=";
|
||||
hash = "sha256-zyby53QEC9txH/EP0plV4vUg9fRV6tZJtdQEWQ2iKCA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
dependencies = with python3Packages; [
|
||||
dbus-client-gen
|
||||
dbus-python-client-gen
|
||||
justbytes
|
||||
|
@ -42,6 +42,8 @@ python3Packages.buildPythonApplication rec {
|
|||
|
||||
pythonImportsCheck = [ "stratis_cli" ];
|
||||
|
||||
env.STRATIS_STRICT_POOL_FEATURES = "1"; # required for unit tests
|
||||
|
||||
passthru.tests = nixosTests.stratis;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -29,18 +29,18 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "stratisd";
|
||||
version = "3.7.3";
|
||||
version = "3.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stratis-storage";
|
||||
repo = pname;
|
||||
repo = "stratisd";
|
||||
tag = "stratisd-v${version}";
|
||||
hash = "sha256-W8ssLTFU36t6iLrt9S9V8qcN7EP4IsL7VbhNPLpftio=";
|
||||
hash = "sha256-vYqvYC3r1TQ62YtMJYOx8bRxFJOam5ntbOS+FJZL/gQ=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit src;
|
||||
hash = "sha256-blhB+UfvG22Xe2O0csZ00/jgnVcLTUIkDJG5P22mffQ=";
|
||||
hash = "sha256-B3n9Ot4CFcVL/R2wHPuDIPBca/5pb2VgcuP1pxnnUrA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue