2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-15 18:10:43 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyramid
|
|
|
|
, simplejson
|
|
|
|
, six
|
|
|
|
, venusian
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cornice";
|
2021-03-10 14:17:24 +01:00
|
|
|
version = "5.1.0";
|
2018-10-15 18:10:43 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-10 14:17:24 +01:00
|
|
|
sha256 = "c81cd9429759c0de475f580bbff92d5646cfc5f43e8aa24492037e2e90677ee6";
|
2018-10-15 18:10:43 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyramid simplejson six venusian ];
|
|
|
|
|
|
|
|
# tests not packaged with pypi release
|
|
|
|
doCheck = false;
|
2021-02-16 22:37:48 +01:00
|
|
|
pythonImportsCheck = [ "cornice" ];
|
2018-10-15 18:10:43 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/mozilla-services/cornice";
|
2018-10-15 18:10:43 +02:00
|
|
|
description = "Build Web Services with Pyramid";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|