Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 31 lines 638 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pyramid 5, simplejson 6, six 7, venusian 8}: 9 10buildPythonPackage rec { 11 pname = "cornice"; 12 version = "5.0.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "4fcf3be295514e7e20fdd602fea8d204127bb02da2ff6bdbc8b6fba859ac9fd0"; 17 }; 18 19 propagatedBuildInputs = [ pyramid simplejson six venusian ]; 20 21 # tests not packaged with pypi release 22 doCheck = false; 23 24 meta = with stdenv.lib; { 25 homepage = "https://github.com/mozilla-services/cornice"; 26 description = "Build Web Services with Pyramid"; 27 license = licenses.mpl20; 28 maintainers = [ maintainers.costrouc ]; 29 }; 30 31}