Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 fetchPypi, 4 lib, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "python-path"; 10 version = "0.1.3"; 11 pyproject = true; 12 13 # no tags on GitHub 14 src = fetchPypi { 15 pname = "python_path"; 16 inherit version; 17 hash = "sha256-ti2arB2k2u4/A27QiFMs+LaGZtOqEDVn3CK2U5MWyLM="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 pythonImportsCheck = [ "python_path" ]; 23 24 # upstream has no tests 25 doCheck = false; 26 27 meta = { 28 description = "Clean way to import scripts on other folders via a context manager"; 29 homepage = "https://github.com/cgarciae/python_path"; 30 license = lib.licenses.mit; 31 maintainers = [ lib.maintainers.dotlambda ]; 32 }; 33}