mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28 lines
632 B
Nix
28 lines
632 B
Nix
{ lib,
|
|
fetchPypi,
|
|
django,
|
|
buildPythonPackage
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-cors-headers";
|
|
version = "3.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "84933651fbbde8f2bc084bef2f077b79db1ec1389432f21dd661eaae6b3d6a95";
|
|
};
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
# pypi release does not include tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers";
|
|
homepage = https://github.com/OttoYiu/django-cors-headers;
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.ivegotasthma ];
|
|
};
|
|
}
|