Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 26 lines 595 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }: 2 3buildPythonPackage rec { 4 pname = "py"; 5 version = "1.8.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa"; 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}