Commit d6fad593 authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.python-pcapng: init at 2.1.1

parent 1215f612
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  pytestCheckHook,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "python-pcapng";
  version = "2.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "rshk";
    repo = "python-pcapng";
    tag = version;
    hash = "sha256-uyoutb4Hk2Wd3z7UopNxauMLGdYVOAhDNzRKclSr7No=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  pythonImportsCheck = [ "pcapng" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/rshk/python-pcapng/blob/${src.tag}/CHANGELOG.rst";
    description = "Library to read/write the pcap-ng format used by various packet sniffers";
    homepage = "https://github.com/rshk/python-pcapng";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -15116,6 +15116,8 @@ self: super: with self; {
  python-path = callPackage ../development/python-modules/python-path { };
  python-pcapng = callPackage ../development/python-modules/python-pcapng { };
  python-periphery = callPackage ../development/python-modules/python-periphery { };
  python-picnic-api2 = callPackage ../development/python-modules/python-picnic-api2 { };