Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 39 lines 675 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.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "ce2d702ae4ef10a70197b00b93141461140d00578f2a862fa946ca1446a300db"; 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}