mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
32 lines
665 B
Nix
32 lines
665 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyramid
|
|
, simplejson
|
|
, six
|
|
, venusian
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cornice";
|
|
version = "6.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6edf6f206ff1c3d108d7a7b9ae640a2f4737cfc04f0914ccc4eefe511d3a8985";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pyramid simplejson six venusian ];
|
|
|
|
# tests not packaged with pypi release
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "cornice" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mozilla-services/cornice";
|
|
description = "Build Web Services with Pyramid";
|
|
license = licenses.mpl20;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|