From da3ecb18d8f7f977e5352e1987dcf6840c7ae77c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 26 Feb 2023 16:37:25 +0000 Subject: [PATCH 1/3] python310Packages.django-cacheops: 6.1 -> 6.2 --- pkgs/development/python-modules/django-cacheops/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-cacheops/default.nix b/pkgs/development/python-modules/django-cacheops/default.nix index 0280f693e76f..18e7ceb16f83 100644 --- a/pkgs/development/python-modules/django-cacheops/default.nix +++ b/pkgs/development/python-modules/django-cacheops/default.nix @@ -11,11 +11,11 @@ buildPythonPackage rec { pname = "django-cacheops"; - version = "6.1"; + version = "6.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-toTvOf1DQYnTy7fYVBfNlyr2NSiaAyRHmCRztKifcn0="; + sha256 = "sha256-zHP9ChwUeZJT/yCopFeRo8jSgCIXswHnDPoIroGeQ48="; }; propagatedBuildInputs = [ From 8af02a19970a0e25c73e275c9574662f63a18f89 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 26 Feb 2023 20:00:22 +0100 Subject: [PATCH 2/3] python310Packages.django-cacheops: add changelog to meta --- pkgs/development/python-modules/django-cacheops/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/django-cacheops/default.nix b/pkgs/development/python-modules/django-cacheops/default.nix index 18e7ceb16f83..9edd81b553fc 100644 --- a/pkgs/development/python-modules/django-cacheops/default.nix +++ b/pkgs/development/python-modules/django-cacheops/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "sha256-zHP9ChwUeZJT/yCopFeRo8jSgCIXswHnDPoIroGeQ48="; + hash = "sha256-zHP9ChwUeZJT/yCopFeRo8jSgCIXswHnDPoIroGeQ48="; }; propagatedBuildInputs = [ @@ -51,6 +51,7 @@ buildPythonPackage rec { meta = with lib; { description = "A slick ORM cache with automatic granular event-driven invalidation for Django"; homepage = "https://github.com/Suor/django-cacheops"; + changelog = "https://github.com/Suor/django-cacheops/blob/${version}/CHANGELOG"; license = licenses.bsd3; maintainers = with maintainers; [ onny ]; }; From cbe45180d16129b1a591d204d0b6f01246c009bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 26 Feb 2023 20:02:40 +0100 Subject: [PATCH 3/3] python310Packages.django-cacheops: disabled on unsupported Python releases --- .../python-modules/django-cacheops/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/django-cacheops/default.nix b/pkgs/development/python-modules/django-cacheops/default.nix index 9edd81b553fc..2e1a791ac4da 100644 --- a/pkgs/development/python-modules/django-cacheops/default.nix +++ b/pkgs/development/python-modules/django-cacheops/default.nix @@ -1,17 +1,20 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi -, lib , django , funcy , redis -, six , pytest-django , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "django-cacheops"; version = "6.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; @@ -22,7 +25,6 @@ buildPythonPackage rec { django funcy redis - six ]; nativeCheckInputs = [