nixpkgs-suyu/pkgs/development/python-modules/cornice/default.nix

32 lines
665 B
Nix
Raw Normal View History

{ lib
2018-10-15 18:10:43 +02:00
, buildPythonPackage
, fetchPypi
, pyramid
, simplejson
, six
, venusian
}:
buildPythonPackage rec {
pname = "cornice";
version = "5.1.0";
2018-10-15 18:10:43 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "c81cd9429759c0de475f580bbff92d5646cfc5f43e8aa24492037e2e90677ee6";
2018-10-15 18:10:43 +02:00
};
propagatedBuildInputs = [ pyramid simplejson six venusian ];
# tests not packaged with pypi release
doCheck = false;
pythonImportsCheck = [ "cornice" ];
2018-10-15 18:10:43 +02:00
meta = with lib; {
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 ];
};
}