python3Packages.drf-nested-routers: 0.93.4 -> 0.94.2 (#411260)
This commit is contained in:
commit
ce72a12fd0
@ -2,7 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
django,
|
django,
|
||||||
djangorestframework,
|
djangorestframework,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
@ -12,32 +11,16 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "drf-nested-routers";
|
pname = "drf-nested-routers";
|
||||||
version = "0.93.4";
|
version = "0.94.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "alanjds";
|
owner = "alanjds";
|
||||||
repo = "drf-nested-routers";
|
repo = "drf-nested-routers";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-qlXNDydoQJ9FZB6G7yV/pNmx3BEo+lvRqsfjrvlbdNY=";
|
hash = "sha256-ETRj14xoSv3fGXggg+P7651ZhbsEkxUaTO7ZPpKidRA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# django4 compatibility
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/alanjds/drf-nested-routers/commit/59764cc356f7f593422b26845a9dfac0ad196120.patch";
|
|
||||||
hash = "sha256-mq3vLHzQlGl2EReJ5mVVQMMcYgGIVt/T+qi1STtQ0aI=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/alanjds/drf-nested-routers/commit/723a5729dd2ffcb66fe315f229789ca454986fa4.patch";
|
|
||||||
hash = "sha256-UCbBjwlidqsJ9vEEWlGzfqqMOr0xuB2TAaUxHsLzFfU=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/alanjds/drf-nested-routers/commit/38e49eb73759bc7dcaaa9166169590f5315e1278.patch";
|
|
||||||
hash = "sha256-IW4BLhHHhXDUZqHaXg46qWoQ89pMXv0ZxKjOCTnDcI0=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ django ];
|
buildInputs = [ django ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ djangorestframework ];
|
propagatedBuildInputs = [ djangorestframework ];
|
||||||
@ -50,6 +33,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/alanjds/drf-nested-routers";
|
homepage = "https://github.com/alanjds/drf-nested-routers";
|
||||||
|
changelog = "https://github.com/alanjds/drf-nested-routers/blob/v${version}/CHANGELOG.md";
|
||||||
description = "Provides routers and fields to create nested resources in the Django Rest Framework";
|
description = "Provides routers and fields to create nested resources in the Django Rest Framework";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ felschr ];
|
maintainers = with maintainers; [ felschr ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user