nixpkgs/pkgs/development/python-modules/djangorestframework/default.nix
2017-12-30 17:06:32 +01:00

24 lines
643 B
Nix

{ stdenv, buildPythonPackage, fetchurl, django }:
buildPythonPackage rec {
version = "3.7.7";
pname = "djangorestframework";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/d/djangorestframework/${name}.tar.gz";
sha256 = "9f9e94e8d22b100ed3a43cee8c47a7ff7b185e778a1f2da9ec5c73fc4e081b87";
};
# Test settings are missing
doCheck = false;
propagatedBuildInputs = [ django ];
meta = with stdenv.lib; {
description = "Web APIs for Django, made easy";
homepage = http://www.django-rest-framework.org/;
maintainers = with maintainers; [ desiderius ];
license = licenses.bsd2;
};
}