-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.django-cors-headers: init at 2.4.0
- Loading branch information
ivegotasthma
committed
Jan 21, 2019
1 parent
f7de6e5
commit 6f9eb70
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
pkgs/development/python-modules/django-cors-headers/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ lib, | ||
fetchPypi, | ||
django, | ||
buildPythonPackage | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "django-cors-headers"; | ||
version = "2.4.0"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1qfa9awsj3f0nwygb0vdh4ilcsfi6zinzng73cd5864x2fbyxhn4"; | ||
}; | ||
|
||
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters