1{ lib
2, buildPythonPackage
3, fetchPypi
4, pyramid
5, simplejson
6, six
7, venusian
8}:
9
10buildPythonPackage rec {
11 pname = "cornice";
12 version = "5.1.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "c81cd9429759c0de475f580bbff92d5646cfc5f43e8aa24492037e2e90677ee6";
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}