pythonPackages.drf-nested-routeres: init at 0.92.5
This commit is contained in:
parent
725a4dafa8
commit
5db1ef1e53
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
|
, django
|
||||||
|
, djangorestframework
|
||||||
|
, pytest
|
||||||
|
, pytest-cov
|
||||||
|
, pytest-django
|
||||||
|
, ipdb
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "drf-nested-routers";
|
||||||
|
version = "0.92.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "alanjds";
|
||||||
|
repo = "drf-nested-routers";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1l1jza8xz6xcm3gwxh1k6pc8fs95cq3v751gxj497y1a83d26j8i";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ django djangorestframework setuptools ];
|
||||||
|
checkInputs = [ pytest pytest-cov pytest-django ipdb ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} runtests.py --nolint
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/alanjds/drf-nested-routers";
|
||||||
|
description = "Provides routers and fields to create nested resources in the Django Rest Framework";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ felschr ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1933,6 +1933,8 @@ in {
|
||||||
|
|
||||||
dpkt = callPackage ../development/python-modules/dpkt { };
|
dpkt = callPackage ../development/python-modules/dpkt { };
|
||||||
|
|
||||||
|
drf-nested-routers = callPackage ../development/python-modules/drf-nested-routers { };
|
||||||
|
|
||||||
drf-yasg = callPackage ../development/python-modules/drf-yasg { };
|
drf-yasg = callPackage ../development/python-modules/drf-yasg { };
|
||||||
|
|
||||||
drms = callPackage ../development/python-modules/drms { };
|
drms = callPackage ../development/python-modules/drms { };
|
||||||
|
|
Loading…
Reference in New Issue