Unverified Commit 6b659580 authored by natsukium's avatar natsukium
Browse files

python312Packages.pygtail: refactor

parent 0d9236eb
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -2,20 +2,27 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "pygtail";
  version = "0.14.0";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "bgreenlee";
    repo = pname;
    repo = "pygtail";
    rev = version;
    sha256 = "sha256-TlXTlxeGDd+elGpMjxcJCmRuJmp5k9xj6MrViRzcST4=";
    hash = "sha256-TlXTlxeGDd+elGpMjxcJCmRuJmp5k9xj6MrViRzcST4=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "pygtail" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Library for reading log file lines that have not been read";