From fde393e5383c2fecfbca555d979f9c62f3e822e9 Mon Sep 17 00:00:00 2001 From: desiderius Date: Tue, 8 Sep 2015 11:24:28 +0200 Subject: [PATCH] pythonPackage.djangorestframework: init at 3.2.3 --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 28940d135088..49da734fa67b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5479,6 +5479,24 @@ let }; }; + djangorestframework = buildPythonPackage rec { + name = "djangorestframework-${version}"; + version = "3.2.3"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/d/djangorestframework/${name}.tar.gz"; + sha256 = "06kp4hg3y4bqy2ixlb1q6bw81gwgsb86l4lanbav7bp1grrbbnj1"; + }; + + propagatedBuildInputs = with self; [ django ]; + + meta = { + description = "Web APIs for Django, made easy"; + homepage = http://www.django-rest-framework.org/; + maintainers = with maintainers; [ desiderius ]; + license = licenses.bsd2; + }; + }; django_reversion = buildPythonPackage rec { name = "django-reversion-${version}";