diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/cornice')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/cornice/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/cornice/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/cornice/default.nix new file mode 100644 index 000000000000..d09cffb31d64 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/cornice/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, pyramid +, simplejson +, six +, venusian +}: + +buildPythonPackage rec { + pname = "cornice"; + version = "5.0.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "f971831e90343374b21c0c97d523e23eb09cec41a2a8fc2e85bb5c2585348576"; + }; + + 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 ]; + }; + +} |