diff options
author | Robert Helgesson <robert@rycee.net> | 2021-05-15 19:23:02 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2021-05-15 19:43:39 +0200 |
commit | 226863905b90485005621f6e730035b867dfe895 (patch) | |
tree | 44755917d8e6962878e5f52a145175ffecfa2f44 /pkgs/tools | |
parent | 73e0dd4b291d961dd741c53c95b6c497b1c533d4 (diff) |
trash-cli: 0.21.4.18 -> 0.21.5.11
Also use `pytestCheckHook`.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/trash-cli/default.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/tools/misc/trash-cli/default.nix b/pkgs/tools/misc/trash-cli/default.nix index dcb9e056e9b67..cc6d5f8c45bb5 100644 --- a/pkgs/tools/misc/trash-cli/default.nix +++ b/pkgs/tools/misc/trash-cli/default.nix @@ -2,27 +2,24 @@ python3Packages.buildPythonApplication rec { pname = "trash-cli"; - version = "0.21.4.18"; + version = "0.21.5.11"; src = fetchFromGitHub { owner = "andreafrancia"; repo = "trash-cli"; rev = version; - sha256 = "16xmg2d9rfmm5l1dxj3dydijpv3kwswrqsbj1sihyyka4s915g61"; + sha256 = "0ifv717ywq2y0s6m9rkry1fnsr3mg9n2b2zcwaf9r5cxpw90bmym"; }; propagatedBuildInputs = [ python3Packages.psutil ]; checkInputs = with python3Packages; [ mock - pytest + pytestCheckHook ]; - # Run tests, skipping `test_user_specified` since its result depends on the - # mount path. - checkPhase = '' - pytest -k 'not test_user_specified' - ''; + # Skip `test_user_specified` since its result depends on the mount path. + disabledTests = [ "test_user_specified" ]; meta = with lib; { homepage = "https://github.com/andreafrancia/trash-cli"; |