12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
22 rev = "refs/tags/${version}";
23 hash = "sha256-aW/aNZbFXfP4bF/Nlvv419IDfaJRA1pJYM7awj+6Hz0=";
26 propagatedBuildInputs = [
36 substituteInPlace $out/${python.sitePackages}/nodeenv.py \
37 --replace '["which", candidate]' '["${lib.getBin which}/bin/which", candidate]'
40 pythonImportsCheck = [
45 # Test requires coverage
50 description = "Node.js virtual environment builder";
51 mainProgram = "nodeenv";
52 homepage = "https://github.com/ekalinin/nodeenv";
53 changelog = "https://github.com/ekalinin/nodeenv/releases/tag/${version}";
54 license = licenses.bsd3;
55 maintainers = with maintainers; [ ];