Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 673 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, decorator 5, appdirs 6, six 7, numpy 8, pytest 9}: 10 11buildPythonPackage rec { 12 pname = "pytools"; 13 version = "2019.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "f6972030e6c97089e49b832fd1f4e7959aee89bb6db929aaa3bde2553d78872b"; 18 }; 19 20 checkInputs = [ pytest ]; 21 22 propagatedBuildInputs = [ 23 decorator 24 appdirs 25 six 26 numpy 27 ]; 28 29 checkPhase = '' 30 py.test -k 'not test_persistent_dict' 31 ''; 32 33 meta = { 34 homepage = https://github.com/inducer/pytools/; 35 description = "Miscellaneous Python lifesavers."; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ artuuge ]; 38 }; 39}