From 626a888bbd2d087310f19a0ae1704856fd30d54e Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 1 Jul 2025 15:32:55 +0200 Subject: [PATCH 1/3] python3Packages.python3-application: 3.0.6 -> 3.0.9, add NGI team --- .../python-modules/python3-application/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python3-application/default.nix b/pkgs/development/python-modules/python3-application/default.nix index f55a0ade2077..b83b5fb49306 100644 --- a/pkgs/development/python-modules/python3-application/default.nix +++ b/pkgs/development/python-modules/python3-application/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "python3-application"; - version = "3.0.6"; + version = "3.0.9"; format = "setuptools"; disabled = !isPy3k; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "AGProjects"; repo = "python3-application"; rev = "release-${version}"; - hash = "sha256-L7KN6rKkbjNmkSoy8vdMYpXSBkWN7afNpreJO0twjq8="; + hash = "sha256-79Uu9zaBIuuc+1O5Y7Vp4Qg2/aOrwvmdi5G/4AvL+T4="; }; propagatedBuildInputs = [ @@ -36,6 +36,7 @@ buildPythonPackage rec { chanley yureien ]; + teams = [ teams.ngi ]; longDescription = '' This package is a collection of modules that are useful when building python applications. Their purpose is to eliminate the need to divert resources into implementing the small tasks that every application needs to do in order to run successfully and focus instead on the application logic itself. The modules that the application package provides are: From 23ee725f160c7a1feddc27c2b917c9c160c75671 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 1 Jul 2025 15:50:18 +0200 Subject: [PATCH 2/3] python3Packages.python3-application: Add passthru.updateScript --- .../python-modules/python3-application/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/python3-application/default.nix b/pkgs/development/python-modules/python3-application/default.nix index b83b5fb49306..86535ce3fe74 100644 --- a/pkgs/development/python-modules/python3-application/default.nix +++ b/pkgs/development/python-modules/python3-application/default.nix @@ -3,6 +3,7 @@ isPy3k, buildPythonPackage, fetchFromGitHub, + gitUpdater, zope-interface, twisted, }: @@ -28,6 +29,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "application" ]; + passthru.updateScript = gitUpdater { + rev-prefix = "release-"; + }; + meta = with lib; { description = "Collection of modules that are useful when building python applications"; homepage = "https://github.com/AGProjects/python3-application"; From dfcb217fd0e050868f56686d71ba5a6fbf615f8e Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sat, 5 Jul 2025 05:55:18 +0200 Subject: [PATCH 3/3] python3Packages.python3-application: Modernise - format -> pyproject - propagatedBuildInputs -> dependencies - Drop meta-wide "with lib" --- .../python-modules/python3-application/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/python3-application/default.nix b/pkgs/development/python-modules/python3-application/default.nix index 86535ce3fe74..3101e29049d1 100644 --- a/pkgs/development/python-modules/python3-application/default.nix +++ b/pkgs/development/python-modules/python3-application/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "python3-application"; version = "3.0.9"; - format = "setuptools"; + pyproject = true; disabled = !isPy3k; @@ -22,7 +22,7 @@ buildPythonPackage rec { hash = "sha256-79Uu9zaBIuuc+1O5Y7Vp4Qg2/aOrwvmdi5G/4AvL+T4="; }; - propagatedBuildInputs = [ + dependencies = [ zope-interface twisted ]; @@ -33,15 +33,15 @@ buildPythonPackage rec { rev-prefix = "release-"; }; - meta = with lib; { + meta = { description = "Collection of modules that are useful when building python applications"; homepage = "https://github.com/AGProjects/python3-application"; - license = licenses.lgpl21Plus; - maintainers = with maintainers; [ + license = lib.licenses.lgpl21Plus; + maintainers = with lib.maintainers; [ chanley yureien ]; - teams = [ teams.ngi ]; + teams = [ lib.teams.ngi ]; longDescription = '' This package is a collection of modules that are useful when building python applications. Their purpose is to eliminate the need to divert resources into implementing the small tasks that every application needs to do in order to run successfully and focus instead on the application logic itself. The modules that the application package provides are: