mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
pythonPackages.pydes: improve checkPhase
This commit is contained in:
parent
e3342306d8
commit
750aebe3dc
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub }:
|
{ lib, buildPythonPackage, fetchFromGitHub, python }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pydes";
|
pname = "pydes";
|
||||||
@ -11,7 +11,9 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0sic8wbyk5azb4d4m6zbc96lfqcw8s2pzcv9nric5yqc751613ww";
|
sha256 = "0sic8wbyk5azb4d4m6zbc96lfqcw8s2pzcv9nric5yqc751613ww";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkPhase = "python test_pydes.py";
|
checkPhase = ''
|
||||||
|
${python.interpreter} test_pydes.py
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "pyDes" ];
|
pythonImportsCheck = [ "pyDes" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user