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

32 lines
636 B
Nix
Raw Normal View History

2018-10-15 17:10:43 +01:00
{ stdenv
, buildPythonPackage
, fetchPypi
, pyramid
, simplejson
, six
, venusian
}:
buildPythonPackage rec {
pname = "cornice";
version = "3.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "a7f8db903ba06c2584c7db4474459de3565d90b5e4ae4b97c687840e11d5b7fd";
};
propagatedBuildInputs = [ pyramid simplejson six venusian ];
# tests not packaged with pypi release
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/mozilla-services/cornice;
description = "Build Web Services with Pyramid";
license = licenses.mpl20;
maintainers = [ maintainers.costrouc ];
};
}