mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
Merge pull request #316465 from gmacon/tarsnapper-pytest-8
tarsnapper: use nose to run tests
This commit is contained in:
commit
9e1b9ab505
@ -37,8 +37,7 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
nose
|
||||
pynose
|
||||
];
|
||||
|
||||
# Remove standard module argparse from requirements
|
||||
@ -46,6 +45,12 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ tarsnap ]}" ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
nosetests tests
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "tarsnapper" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user