1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 ldap3,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "sectools";
11 version = "1.5.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "p0dalirius";
16 repo = "sectools";
17 tag = version;
18 hash = "sha256-P0ixL6zdEcvL7KKbr1LcJyd8mqPZrwklspJmZ/KokEA=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ ldap3 ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "sectools" ];
29
30 meta = with lib; {
31 description = "Library containing functions to write security tools";
32 homepage = "https://github.com/p0dalirius/sectools";
33 changelog = "https://github.com/p0dalirius/sectools/releases/tag/${src.tag}";
34 license = licenses.gpl3Only;
35 maintainers = with maintainers; [ fab ];
36 };
37}