Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 636 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 = "4.0.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "d083832e9db65da4784436deabd7d37959de88c3b8ba51d539fa1e1f8313439d"; 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}