14 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-nud8HSfx1ri0UZf25VPCy7swfaSM13u5+HzozK+ikeY=";
39 substituteInPlace $out/${python.sitePackages}/nodeenv.py \
40 --replace '["which", candidate]' '["${lib.getBin which}/bin/which", candidate]'
43 pythonImportsCheck = [ "nodeenv" ];
46 # Test requires coverage
51 description = "Node.js virtual environment builder";
52 mainProgram = "nodeenv";
53 homepage = "https://github.com/ekalinin/nodeenv";
54 changelog = "https://github.com/ekalinin/nodeenv/releases/tag/${version}";
55 license = licenses.bsd3;