Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 31 lines 629 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 version = "3.0.0"; 9 pname = "django-cache-url"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "235950e2d7cb16164082167c2974301e2f0fb2313d40bfacc9d24f5b09c3514b"; 14 }; 15 16 checkInputs = [ pytest ]; 17 18 checkPhase = '' 19 pytest tests 20 ''; 21 22 # tests not included with pypi release 23 doCheck = false; 24 25 meta = with stdenv.lib; { 26 homepage = https://github.com/ghickman/django-cache-url; 27 description = "Use Cache URLs in your Django application"; 28 license = licenses.mit; 29 maintainers = [ maintainers.costrouc ]; 30 }; 31}