python313Packages.sectools: modernize

Changed files
+3 -6
pkgs
development
python-modules
sectools
+3 -6
pkgs/development/python-modules/sectools/default.nix
···
buildPythonPackage,
fetchFromGitHub,
ldap3,
-
pythonOlder,
setuptools,
}:
···
pname = "sectools";
version = "1.5.0";
pyproject = true;
-
-
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "p0dalirius";
···
hash = "sha256-P0ixL6zdEcvL7KKbr1LcJyd8mqPZrwklspJmZ/KokEA=";
};
-
nativeBuildInputs = [ setuptools ];
-
propagatedBuildInputs = [ ldap3 ];
# Module has no tests
doCheck = false;
···
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 ];
maintainers = with maintainers; [ fab ];
};
}
···
buildPythonPackage,
fetchFromGitHub,
ldap3,
setuptools,
}:
···
pname = "sectools";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "p0dalirius";
···
hash = "sha256-P0ixL6zdEcvL7KKbr1LcJyd8mqPZrwklspJmZ/KokEA=";
};
+
build-system = [ setuptools ];
+
dependencies = [ ldap3 ];
# Module has no tests
doCheck = false;
···
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 = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}