mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
23 lines
578 B
Nix
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;
|
|
};
|
|
}
|