diff --git a/pkgs/development/python-modules/sectools/default.nix b/pkgs/development/python-modules/sectools/default.nix index 2dfd890a3376..3793ccd6912f 100644 --- a/pkgs/development/python-modules/sectools/default.nix +++ b/pkgs/development/python-modules/sectools/default.nix @@ -3,27 +3,24 @@ buildPythonPackage, fetchFromGitHub, ldap3, - pythonOlder, setuptools, }: buildPythonPackage rec { pname = "sectools"; - version = "1.4.4"; + version = "1.5.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "p0dalirius"; repo = "sectools"; tag = version; - hash = "sha256-dI0zokmndMZ4C7aX73WOdyXvOjCQJzZU6C1uXDt97Vg="; + 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 ]; }; }