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.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "532485ed53cae81ef476aaf4cc7c2e0208749ad1959119c46efefdeea5546eba";
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}