From f8302ce759cddb2aeef59821ee865cb1d73c2ff8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 5 Apr 2024 10:51:55 +0200 Subject: [PATCH] python312Packages.django-filter: 23.5 -> 24.2 https://github.com/carltongibson/django-filter/blob/v24.2/CHANGES.rst --- .../python-modules/django-filter/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/django-filter/default.nix b/pkgs/development/python-modules/django-filter/default.nix index 8f91712ba0b7..926851b7fe00 100644 --- a/pkgs/development/python-modules/django-filter/default.nix +++ b/pkgs/development/python-modules/django-filter/default.nix @@ -6,22 +6,21 @@ , djangorestframework , pytestCheckHook , pytest-django -, python }: buildPythonPackage rec { pname = "django-filter"; - version = "23.5"; - format = "pyproject"; + version = "24.2"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-Z1g6pDuR/oxJ90qDLZX02EQr5ij9TG1l6fgR9RU6Tlw="; + hash = "sha256-SOX8HaPM1soNX5u1UJc1GM6Xek7d6dKooVSn9PC5+W4="; }; - nativeBuildInputs = [ flit-core ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ django ]; + dependencies = [ django ]; pythonImportsCheck = [ "django_filters" @@ -38,7 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "Reusable Django application for allowing users to filter querysets dynamically"; homepage = "https://github.com/carltongibson/django-filter"; - changelog = "https://github.com/carltongibson/django-filter/blob/v${version}/CHANGES.rst"; + changelog = "https://github.com/carltongibson/django-filter/blob/${version}/CHANGES.rst"; license = licenses.bsd3; maintainers = with maintainers; [ mmai ]; };