nixpkgs/pkgs/development/python-modules/djangorestframework/default.nix
2019-12-30 16:46:42 +01:00

23 lines
578 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, django }:
buildPythonPackage rec {
version = "3.11.0";
pname = "djangorestframework";
src = fetchPypi {
inherit pname version;
sha256 = "e782087823c47a26826ee5b6fa0c542968219263fb3976ec3c31edab23a4001f";
};
# 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;
};
}