Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 597 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }: 2 3buildPythonPackage rec { 4 pname = "py"; 5 version = "1.9.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342"; 10 }; 11 12 # Circular dependency on pytest 13 doCheck = false; 14 15 nativeBuildInputs = [ setuptools_scm ]; 16 17 pythonImportsCheck = [ 18 "py" 19 ]; 20 21 meta = with stdenv.lib; { 22 description = "Library with cross-python path, ini-parsing, io, code, log facilities"; 23 homepage = "https://pylib.readthedocs.org/"; 24 license = licenses.mit; 25 }; 26}