Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, 2 fetchPypi, 3 django, 4 buildPythonPackage 5}: 6 7buildPythonPackage rec { 8 pname = "django-cors-headers"; 9 version = "2.4.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1qfa9awsj3f0nwygb0vdh4ilcsfi6zinzng73cd5864x2fbyxhn4"; 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}