Skip to content

Commit

Permalink
pythonPackages.django-cors-headers: init at 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ivegotasthma committed Jan 21, 2019
1 parent f7de6e5 commit 6f9eb70
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/python-modules/django-cors-headers/default.nix
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2230,6 +2230,8 @@ in {

django_contrib_comments = callPackage ../development/python-modules/django_contrib_comments { };

django-cors-headers = callPackage ../development/python-modules/django-cors-headers { };

django-discover-runner = callPackage ../development/python-modules/django-discover-runner { };

django_environ = callPackage ../development/python-modules/django_environ { };
Expand Down

0 comments on commit 6f9eb70

Please sign in to comment.