My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/djangorestframework/default.nix

26 lines
660 B

{ lib, buildPythonPackage, fetchFromGitHub, django, pytz, isPy27 }:
buildPythonPackage rec {
version = "3.12.4";
pname = "djangorestframework";
disabled = isPy27;
src = fetchFromGitHub {
owner = "encode";
repo = "django-rest-framework";
rev = version;
sha256 = "sha256-FjMRfVyLmm5J9uOUTLZpO3Pvge3RoYnqIRvzMng7wZo=";
};
# Test settings are missing
doCheck = false;
propagatedBuildInputs = [ django pytz ];
meta = with lib; {
description = "Web APIs for Django, made easy";
homepage = "https://www.django-rest-framework.org/";
maintainers = with maintainers; [ desiderius ];
license = licenses.bsd2;
};
}