Skip to content

Commit 24c32b0

Browse files
committed
python3Packages.craft-cli: 2.15.0 -> 3.0.0
1 parent 9d0ca0f commit 24c32b0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pkgs/development/python-modules/craft-cli/default.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515

1616
buildPythonPackage rec {
1717
pname = "craft-cli";
18-
version = "2.15.0";
18+
version = "3.0.0";
1919

2020
pyproject = true;
2121

2222
src = fetchFromGitHub {
2323
owner = "canonical";
2424
repo = "craft-cli";
2525
tag = version;
26-
hash = "sha256-L8hOQJhjVAMo/WxEHHEk2QorlSdDFMGdcL/Q3Pv6mT4=";
26+
hash = "sha256-RAnvx5519iXZnJm8jtY635e0DEL7jnIgZtTCindqMTY=";
2727
};
2828

2929
postPatch = ''
@@ -48,6 +48,11 @@ buildPythonPackage rec {
4848
pytestCheckHook
4949
];
5050

51+
preCheck = ''
52+
mkdir -p check-phase
53+
export HOME="$(pwd)/check-phase"
54+
'';
55+
5156
pytestFlagsArray = [ "tests/unit" ];
5257

5358
passthru.updateScript = nix-update-script { };

0 commit comments

Comments
 (0)