blob: c9eb44fd6171c1c58300afbd4915f99afe733b92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
httpagentparser,
cherrypy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cherrypy-cors";
version = "1.7.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-gzhM1mSnq4uat9SSb+lxOs/gvONmXuKBiaD6BLnyEtY=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
httpagentparser
cherrypy
];
pythonImportsCheck = [ "cherrypy_cors" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "CORS support for CherryPy";
homepage = "https://github.com/cherrypy/cherrypy-cors";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jpts ];
};
}
|