From 9fb69343d1f53fe9cee86ba139eea072dd1f1a3f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 May 2023 14:53:27 +0200 Subject: [PATCH 1/2] python311Packages.django-model-utils: 4.2.0 -> 4.3.1 Diff: https://github.com/jazzband/django-model-utils/compare/4.2.0...4.3.1 --- .../development/python-modules/django-model-utils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-model-utils/default.nix b/pkgs/development/python-modules/django-model-utils/default.nix index ef41805b6e1d..255f95ceda67 100644 --- a/pkgs/development/python-modules/django-model-utils/default.nix +++ b/pkgs/development/python-modules/django-model-utils/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "django-model-utils"; - version = "4.2.0"; + version = "4.3.1"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "jazzband"; repo = "django-model-utils"; rev = version; - hash = "sha256-TLqvpP/ZaGGFdqnN+UHbhXv1K1YVYTYBkCiWCjYrFh8="; + hash = "sha256-p3/JO6wNwZPYX7MIgMj/0caHt5s+uL51Sxa28/VITxo="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From a7512939c45238b167a18a8a65ab4dea1c65c39f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 May 2023 14:56:37 +0200 Subject: [PATCH 2/2] python311Packages.django-model-utils: add changelog to meta --- .../python-modules/django-model-utils/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/django-model-utils/default.nix b/pkgs/development/python-modules/django-model-utils/default.nix index 255f95ceda67..8730d367d91a 100644 --- a/pkgs/development/python-modules/django-model-utils/default.nix +++ b/pkgs/development/python-modules/django-model-utils/default.nix @@ -13,12 +13,14 @@ buildPythonPackage rec { pname = "django-model-utils"; version = "4.3.1"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "jazzband"; repo = "django-model-utils"; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-p3/JO6wNwZPYX7MIgMj/0caHt5s+uL51Sxa28/VITxo="; }; @@ -47,6 +49,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/jazzband/django-model-utils"; description = "Django model mixins and utilities"; + changelog = "https://github.com/jazzband/django-model-utils/blob/${version}/CHANGES.rst"; license = licenses.bsd3; maintainers = with maintainers; [ SuperSandro2000 ]; };