From 47c69b8549e12f0e24f9714a547d03bbcdfe99d0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 18 Oct 2025 12:12:12 +0200 Subject: [PATCH] python313Packages.precis-i18n: modernize --- .../development/python-modules/precis-i18n/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/precis-i18n/default.nix b/pkgs/development/python-modules/precis-i18n/default.nix index 0bb66cd9a95e..7bc8741fa8c5 100644 --- a/pkgs/development/python-modules/precis-i18n/default.nix +++ b/pkgs/development/python-modules/precis-i18n/default.nix @@ -2,15 +2,13 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "precis-i18n"; version = "1.1.2"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + pyproject = true; src = fetchFromGitHub { owner = "byllyfish"; @@ -19,12 +17,14 @@ buildPythonPackage rec { hash = "sha256-ZMj9KqiPVrpmq4/FweLMDxWQVQEtykimNhMTS9Mh5QY="; }; + build-system = [ setuptools ]; + pythonImportsCheck = [ "precis_i18n" ]; meta = with lib; { description = "Internationalized usernames and passwords"; homepage = "https://github.com/byllyfish/precis_i18n"; - changelog = "https://github.com/byllyfish/precis_i18n/blob/v${version}/CHANGELOG.rst"; + changelog = "https://github.com/byllyfish/precis_i18n/blob/${src.tag}/CHANGELOG.rst"; license = licenses.mit; maintainers = [ ]; };