python313Packages.sectools: modernize

authored by Fabian Affolter and committed by GitHub 77e8a23c 0971877d

+3 -6
+3 -6
pkgs/development/python-modules/sectools/default.nix
··· 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 5 ldap3, 6 - pythonOlder, 7 6 setuptools, 8 7 }: 9 8 ··· 11 10 pname = "sectools"; 12 11 version = "1.5.0"; 13 12 pyproject = true; 14 - 15 - disabled = pythonOlder "3.7"; 16 13 17 14 src = fetchFromGitHub { 18 15 owner = "p0dalirius"; ··· 21 18 hash = "sha256-P0ixL6zdEcvL7KKbr1LcJyd8mqPZrwklspJmZ/KokEA="; 22 19 }; 23 20 24 - nativeBuildInputs = [ setuptools ]; 21 + build-system = [ setuptools ]; 25 22 26 - propagatedBuildInputs = [ ldap3 ]; 23 + dependencies = [ ldap3 ]; 27 24 28 25 # Module has no tests 29 26 doCheck = false; ··· 34 31 description = "Library containing functions to write security tools"; 35 32 homepage = "https://github.com/p0dalirius/sectools"; 36 33 changelog = "https://github.com/p0dalirius/sectools/releases/tag/${src.tag}"; 37 - license = with licenses; [ gpl3Only ]; 34 + license = licenses.gpl3Only; 38 35 maintainers = with maintainers; [ fab ]; 39 36 }; 40 37 }