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