File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
development/python-modules/falcon-cors Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ setuptools ,
6+ falcon ,
7+ } :
8+
9+ buildPythonPackage rec {
10+ pname = "falcon-cors" ;
11+ version = "1.1.7" ;
12+
13+ src = fetchFromGitHub {
14+ owner = "lwcolton" ;
15+ repo = "falcon-cors" ;
16+ tag = version ;
17+ hash = "sha256-jlEWP7gXbWfdY4coEIM6NWuBf4LOGbUAFMNvqip/FcA=" ;
18+ } ;
19+
20+ build-system = [ setuptools ] ;
21+
22+ dependencies = [ falcon ] ;
23+
24+ # Test fail with falcon >= 4
25+ # https://github.com/lwcolton/falcon-cors/issues/25
26+ doCheck = false ;
27+
28+ pythonImportsCheck = [ "falcon_cors" ] ;
29+
30+ meta = {
31+ description = "CORS support for Falcon" ;
32+ homepage = "https://github.com/lwcolton/falcon-cors" ;
33+ license = lib . licenses . asl20 ;
34+ maintainers = with lib . maintainers ; [ onny ] ;
35+ } ;
36+ }
Original file line number Diff line number Diff line change @@ -4749,12 +4749,16 @@ self: super: with self; {
47494749
47504750 falcon = callPackage ../development/python-modules/falcon { };
47514751
4752+ falcon-cors = callPackage ../development/python-modules/falcon-cors { };
4753+
47524754 falconpy = callPackage ../development/python-modules/falconpy { };
47534755
47544756 faraday-agent-parameters-types =
47554757 callPackage ../development/python-modules/faraday-agent-parameters-types
47564758 { };
47574759
4760+ falcon-cors = callPackage ../development/python-modules/falcon-cors { };
4761+
47584762 faraday-plugins = callPackage ../development/python-modules/faraday-plugins { };
47594763
47604764 farama-notifications = callPackage ../development/python-modules/farama-notifications { };
You can’t perform that action at this time.
0 commit comments