From 0971877da3cae87fe15dc4167f01bd8e2dcf751e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Sep 2025 15:25:14 +0200 Subject: [PATCH 1/2] python313Packages.sectools: 1.4.4 -> 1.5.0 Diff: https://github.com/p0dalirius/sectools/compare/1.4.4...1.5.0 Changelog: https://github.com/p0dalirius/sectools/releases/tag/1.5.0 --- pkgs/development/python-modules/sectools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sectools/default.nix b/pkgs/development/python-modules/sectools/default.nix index 2dfd890a3376..df798b3f38df 100644 --- a/pkgs/development/python-modules/sectools/default.nix +++ b/pkgs/development/python-modules/sectools/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "sectools"; - version = "1.4.4"; + version = "1.5.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "p0dalirius"; repo = "sectools"; tag = version; - hash = "sha256-dI0zokmndMZ4C7aX73WOdyXvOjCQJzZU6C1uXDt97Vg="; + hash = "sha256-P0ixL6zdEcvL7KKbr1LcJyd8mqPZrwklspJmZ/KokEA="; }; nativeBuildInputs = [ setuptools ]; From 77e8a23c87ff145fa6fdc2d4633c6bc95ae190ea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Sep 2025 15:26:39 +0200 Subject: [PATCH 2/2] python313Packages.sectools: modernize --- pkgs/development/python-modules/sectools/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/sectools/default.nix b/pkgs/development/python-modules/sectools/default.nix index df798b3f38df..3793ccd6912f 100644 --- a/pkgs/development/python-modules/sectools/default.nix +++ b/pkgs/development/python-modules/sectools/default.nix @@ -3,7 +3,6 @@ buildPythonPackage, fetchFromGitHub, ldap3, - pythonOlder, setuptools, }: @@ -12,8 +11,6 @@ buildPythonPackage rec { version = "1.5.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "p0dalirius"; repo = "sectools"; @@ -21,9 +18,9 @@ buildPythonPackage rec { hash = "sha256-P0ixL6zdEcvL7KKbr1LcJyd8mqPZrwklspJmZ/KokEA="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ ldap3 ]; + dependencies = [ ldap3 ]; # Module has no tests doCheck = false; @@ -34,7 +31,7 @@ buildPythonPackage rec { description = "Library containing functions to write security tools"; homepage = "https://github.com/p0dalirius/sectools"; changelog = "https://github.com/p0dalirius/sectools/releases/tag/${src.tag}"; - license = with licenses; [ gpl3Only ]; + license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; }; }