Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 22 lines 577 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, django }: 2buildPythonPackage rec { 3 version = "3.9.4"; 4 pname = "djangorestframework"; 5 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "c12869cfd83c33d579b17b3cb28a2ae7322a53c3ce85580c2a2ebe4e3f56c4fb"; 9 }; 10 11 # Test settings are missing 12 doCheck = false; 13 14 propagatedBuildInputs = [ django ]; 15 16 meta = with stdenv.lib; { 17 description = "Web APIs for Django, made easy"; 18 homepage = https://www.django-rest-framework.org/; 19 maintainers = with maintainers; [ desiderius ]; 20 license = licenses.bsd2; 21 }; 22}