Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 38 lines 851 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, boltons 5, attrs 6, face 7, pytest 8, pyyaml 9, isPy37 10}: 11 12buildPythonPackage rec { 13 pname = "glom"; 14 version = "19.10.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "c8a50cb9fcf0c84807836c6a73cf61285557834b9050d7bde7732b936aceb7dd"; 19 }; 20 21 propagatedBuildInputs = [ boltons attrs face ]; 22 23 checkInputs = [ pytest pyyaml ]; 24 checkPhase = "pytest glom/test"; 25 26 doCheck = !isPy37; # https://github.com/mahmoud/glom/issues/72 27 28 meta = with stdenv.lib; { 29 homepage = https://github.com/mahmoud/glom; 30 description = "Restructuring data, the Python way"; 31 longDescription = '' 32 glom helps pull together objects from other objects in a 33 declarative, dynamic, and downright simple way. 34 ''; 35 license = licenses.bsd3; 36 maintainers = with maintainers; [ twey ]; 37 }; 38}