linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / development / python-modules / pygtail / default.nix
blob8ef39af5c3146ad7245d125281202df0252028cb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "pygtail";
11   version = "0.14.0";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "bgreenlee";
16     repo = "pygtail";
17     rev = version;
18     hash = "sha256-TlXTlxeGDd+elGpMjxcJCmRuJmp5k9xj6MrViRzcST4=";
19   };
21   build-system = [ setuptools ];
23   pythonImportsCheck = [ "pygtail" ];
25   nativeCheckInputs = [ pytestCheckHook ];
27   meta = with lib; {
28     description = "Library for reading log file lines that have not been read";
29     mainProgram = "pygtail";
30     license = licenses.gpl2Plus;
31     homepage = "https://github.com/bgreenlee/pygtail";
32   };