lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.pscript: Add test inputs

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Suggested-by: Joachim Ernst <mail-maintainer@0x4A6F.dev>

+11 -1
+11 -1
pkgs/development/python-modules/pscript/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , pytestCheckHook 5 + , nodejs 4 6 }: 5 7 6 8 buildPythonPackage rec { ··· 15 17 sha256 = "169px5n4jjnpdn9y86f28qwd95bwf1q1rz0a1h3lb5nn5c6ym8c4"; 16 18 }; 17 19 18 - doCheck = false; 20 + checkInputs = [ 21 + pytestCheckHook 22 + nodejs 23 + ]; 24 + 25 + preCheck = '' 26 + # do not execute legacy tests 27 + rm -rf pscript_legacy 28 + ''; 19 29 20 30 meta = with lib; { 21 31 description = "Python to JavaScript compiler";