Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / sectools / default.nix
blobf65c80aabdc13335de1e9fb5abcd54b99d091590
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , ldap3
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "sectools";
11   version = "1.4.3";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "p0dalirius";
18     repo = "sectools";
19     rev = "refs/tags/${version}";
20     hash = "sha256-k3k1/DFmv0resnsNht/C+2Xh6qbSQmk83eN/3vtDU00=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     ldap3
29   ];
31   # Module has no tests
32   doCheck = false;
34   pythonImportsCheck = [
35     "sectools"
36   ];
38   meta = with lib; {
39     description = "library containing functions to write security tools";
40     homepage = "https://github.com/p0dalirius/sectools";
41     changelog = "https://github.com/p0dalirius/sectools/releases/tag/${version}";
42     license = with licenses; [ gpl3Only ];
43     maintainers = with maintainers; [ fab ];
44   };