Skip to content

Commit 77e8a23

Browse files
authored
python313Packages.sectools: modernize
1 parent 0971877 commit 77e8a23

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pkgs/development/python-modules/sectools/default.nix

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
buildPythonPackage,
44
fetchFromGitHub,
55
ldap3,
6-
pythonOlder,
76
setuptools,
87
}:
98

@@ -12,18 +11,16 @@ buildPythonPackage rec {
1211
version = "1.5.0";
1312
pyproject = true;
1413

15-
disabled = pythonOlder "3.7";
16-
1714
src = fetchFromGitHub {
1815
owner = "p0dalirius";
1916
repo = "sectools";
2017
tag = version;
2118
hash = "sha256-P0ixL6zdEcvL7KKbr1LcJyd8mqPZrwklspJmZ/KokEA=";
2219
};
2320

24-
nativeBuildInputs = [ setuptools ];
21+
build-system = [ setuptools ];
2522

26-
propagatedBuildInputs = [ ldap3 ];
23+
dependencies = [ ldap3 ];
2724

2825
# Module has no tests
2926
doCheck = false;
@@ -34,7 +31,7 @@ buildPythonPackage rec {
3431
description = "Library containing functions to write security tools";
3532
homepage = "https://github.com/p0dalirius/sectools";
3633
changelog = "https://github.com/p0dalirius/sectools/releases/tag/${src.tag}";
37-
license = with licenses; [ gpl3Only ];
34+
license = licenses.gpl3Only;
3835
maintainers = with maintainers; [ fab ];
3936
};
4037
}

0 commit comments

Comments
 (0)