1{ lib
2, buildPythonPackage
3, fetchPypi
4, pyramid
5, simplejson
6, six
7, venusian
8}:
9
10buildPythonPackage rec {
11 pname = "cornice";
12 version = "6.0.1";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "6edf6f206ff1c3d108d7a7b9ae640a2f4737cfc04f0914ccc4eefe511d3a8985";
17 };
18
19 propagatedBuildInputs = [ pyramid simplejson six venusian ];
20
21 # tests not packaged with pypi release
22 doCheck = false;
23 pythonImportsCheck = [ "cornice" ];
24
25 meta = with lib; {
26 homepage = "https://github.com/mozilla-services/cornice";
27 description = "Build Web Services with Pyramid";
28 license = licenses.mpl20;
29 maintainers = [ maintainers.costrouc ];
30 };
31}