3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.pscript: Add test inputs

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Suggested-by: Joachim Ernst <mail-maintainer@0x4A6F.dev>
This commit is contained in:
Matthias Beyer 2021-12-21 19:33:39 +01:00
parent 6304e619bc
commit b90efe7088

View file

@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, nodejs
}:
buildPythonPackage rec {
@ -15,7 +17,15 @@ buildPythonPackage rec {
sha256 = "169px5n4jjnpdn9y86f28qwd95bwf1q1rz0a1h3lb5nn5c6ym8c4";
};
doCheck = false;
checkInputs = [
pytestCheckHook
nodejs
];
preCheck = ''
# do not execute legacy tests
rm -rf pscript_legacy
'';
meta = with lib; {
description = "Python to JavaScript compiler";