trash-cli: 0.21.4.18 -> 0.21.5.11

Also use `pytestCheckHook`.

Changed files
+5 -8
pkgs
tools
misc
trash-cli
+5 -8
pkgs/tools/misc/trash-cli/default.nix
···
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";