emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / pygrok / default.nix
blob3313a921808df82a302207ebe6dfffc136f19aa9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   regex,
6   pytest,
7 }:
9 buildPythonPackage rec {
10   pname = "pygrok";
11   version = "1.0.0";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "garyelephant";
16     repo = "pygrok";
17     rev = "v${version}";
18     sha256 = "07487rcmv74srnchh60jp0vg46g086qmpkaj8gxqhp9rj47r1s4m";
19   };
21   propagatedBuildInputs = [ regex ];
23   nativeCheckInputs = [ pytest ];
24   checkPhase = ''
25     pytest
26   '';
28   meta = with lib; {
29     maintainers = with maintainers; [ winpat ];
30     description = "Python implementation of jordansissel's grok regular expression library";
31     homepage = "https://github.com/garyelephant/pygrok";
32     license = licenses.mit;
33     platforms = platforms.unix;
34   };