1{ lib,
2 fetchPypi,
3 django,
4 buildPythonPackage
5}:
6
7buildPythonPackage rec {
8 pname = "django-cors-headers";
9 version = "3.2.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "84933651fbbde8f2bc084bef2f077b79db1ec1389432f21dd661eaae6b3d6a95";
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}