1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/djangorestframework/default.nix
2020-11-05 15:46:58 -08:00

25 lines
610 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, django, isPy27 }:
buildPythonPackage rec {
version = "3.11.2";
pname = "djangorestframework";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "a5967b68a04e0d97d10f4df228e30f5a2d82ba63b9d03e1759f84993b7bf1b53";
};
# Test settings are missing
doCheck = false;
propagatedBuildInputs = [ django ];
meta = with stdenv.lib; {
description = "Web APIs for Django, made easy";
homepage = "https://www.django-rest-framework.org/";
maintainers = with maintainers; [ desiderius ];
license = licenses.bsd2;
};
}