Files
nixpkgs/pkgs/development/python-modules/cornice/default.nix
T
2024-05-12 13:39:26 +02:00

49 lines
840 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, setuptools-scm
, pyramid
, pytestCheckHook
, pytest-cache
, webtest
, marshmallow
, colander
}:
buildPythonPackage rec {
pname = "cornice";
version = "6.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Cornices";
repo = "cornice";
rev = version;
hash = "sha256-jAf8unDPpr/ZAWkb9LhOW4URjwcRnaYVUKmfnYBStTg=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ pyramid ];
nativeCheckInputs = [
pytestCheckHook
pytest-cache
webtest
marshmallow
colander
];
pythonImportsCheck = [ "cornice" ];
meta = with lib; {
homepage = "https://github.com/mozilla-services/cornice";
description = "Build Web Services with Pyramid";
license = licenses.mpl20;
maintainers = [ ];
};
}