Unverified Commit d786150f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.idstools: init at 0.6.5 (#378643)

parents f7b6ca0d fc8934bb
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  python-dateutil,
  pythonOlder,
  setuptools,
  sphinx,
  sphinxcontrib-programoutput,
}:

buildPythonPackage rec {
  pname = "idstools";
  version = "0.6.5";
  pyproject = true;

  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "jasonish";
    repo = "py-idstools";
    tag = version;
    hash = "sha256-sDar3piE9elMKQ6sg+gUw95Rr/RJOSCfV0VFiBURNg4=";
  };

  build-system = [ setuptools ];

  dependencies = [
    python-dateutil
    sphinx
    sphinxcontrib-programoutput
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "idstools" ];

  meta = {
    description = "Module to work with Snort and Suricata Rule and Event";
    homepage = "https://github.com/jasonish/py-idstools";
    changelog = "https://github.com/jasonish/py-idstools/releases/tag/${version}";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6223,6 +6223,8 @@ self: super: with self; {
  idna-ssl = callPackage ../development/python-modules/idna-ssl { };
  idstools = callPackage ../development/python-modules/idstools { };
  ifaddr = callPackage ../development/python-modules/ifaddr { };
  ifconfig-parser = callPackage ../development/python-modules/ifconfig-parser { };