1{ lib,
2 fetchPypi,
3 django,
4 buildPythonPackage
5}:
6
7buildPythonPackage rec {
8 pname = "django-cors-headers";
9 version = "3.0.2";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "0b11nkcviwv5dqnlmv63bgzciczb51wairm8b6wr6sda4p7y5wzb";
14 };
15
16 propagatedBuildInputs = [ django ];
17
18 # pypi release does not include tests
19 doCheck = false;
20
21 meta = with lib; {
22 description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers";
23 homepage = https://github.com/OttoYiu/django-cors-headers;
24 license = licenses.mit;
25 maintainers = [ maintainers.ivegotasthma ];
26 };
27}