From e8ab8d19f6f435a92095a84fa418225c5bf37390 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 18 Jan 2025 09:59:23 +0100 Subject: [PATCH] python312Packages.django-htmx: 1.19.0 -> 1.21.0 Diff: https://github.com/adamchainz/django-htmx/compare/1.19.0...1.21.0 Changelog: https://github.com/adamchainz/django-htmx/blob/1.21.0/docs/changelog.rst --- .../python-modules/django-htmx/default.nix | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/django-htmx/default.nix b/pkgs/development/python-modules/django-htmx/default.nix index 0e60a5ae5aef..51e6f62fecf2 100644 --- a/pkgs/development/python-modules/django-htmx/default.nix +++ b/pkgs/development/python-modules/django-htmx/default.nix @@ -1,32 +1,34 @@ { lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, asgiref, + buildPythonPackage, django, - pytestCheckHook, + fetchFromGitHub, pytest-django, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "django-htmx"; - version = "1.19.0"; + version = "1.21.0"; pyproject = true; + disabled = pythonOlder "3.9"; + src = fetchFromGitHub { owner = "adamchainz"; repo = "django-htmx"; rev = version; - hash = "sha256-nSutErUkFafKjBswhC+Lrn39MgCbCrzttAx1a+qt1so="; + hash = "sha256-2zmCJ+oHvw21lvCgAFja2LRPA6LNWep4uRor0z1Ft6g="; }; build-system = [ setuptools ]; - dependencies = [ - asgiref - django - ]; + buildInputs = [ django ]; + + dependencies = [ asgiref ]; nativeCheckInputs = [ pytestCheckHook @@ -38,6 +40,7 @@ buildPythonPackage rec { meta = { description = "Extensions for using Django with htmx"; homepage = "https://github.com/adamchainz/django-htmx"; + changelog = "https://github.com/adamchainz/django-htmx/blob/${version}/docs/changelog.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ minijackson ]; };