python3Packages.cherrypy-cors: init at 1.7.0

This commit is contained in:
jpts
2023-11-20 23:55:15 +00:00
parent 220d6c532c
commit 9f3a78c8f2
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, setuptools-scm
, httpagentparser
, cherrypy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cherrypy-cors";
version = "1.7.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-gzhM1mSnq4uat9SSb+lxOs/gvONmXuKBiaD6BLnyEtY=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
httpagentparser
cherrypy
];
pythonImportsCheck = [ "cherrypy_cors" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "CORS support for CherryPy";
homepage = "https://github.com/cherrypy/cherrypy-cors";
license = licenses.mit;
maintainers = with maintainers; [ jpts ];
};
}
+2
View File
@@ -1964,6 +1964,8 @@ self: super: with self; {
cherrypy = callPackage ../development/python-modules/cherrypy { };
cherrypy-cors = callPackage ../development/python-modules/cherrypy-cors { };
chess = callPackage ../development/python-modules/chess { };
chevron = callPackage ../development/python-modules/chevron { };