mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
28 lines
620 B
Nix
28 lines
620 B
Nix
{ 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 ];
|
|
};
|
|
}
|