Commit e4299be2 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.sectools: init at 1.3.9

parent fe2ecaf7
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, ldap3
, pythonOlder
}:

buildPythonPackage rec {
  pname = "sectools";
  version = "1.3.9";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "p0dalirius";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-F9mmPSlfSSS7UDNuX9OPrqDsEpqq0bD3eROG8D9CC78=";
  };

  propagatedBuildInputs = [
    ldap3
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
    "sectools"
  ];

  meta = with lib; {
    description = "library containing functions to write security tools";
    homepage = "https://github.com/p0dalirius/sectools";
    changelog = "https://github.com/p0dalirius/sectools/releases/tag/${version}";
    license = with licenses; [ gpl3Only ];
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10655,6 +10655,8 @@ self: super: with self; {

  securetar = callPackage ../development/python-modules/securetar { };

  sectools = callPackage ../development/python-modules/sectools { };

  seedir = callPackage ../development/python-modules/seedir { };

  seekpath = callPackage ../development/python-modules/seekpath { };