blob: 13e2428c3f35207d99223d9ab1f81e3e906a4d01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
regex,
pytest,
}:
buildPythonPackage rec {
pname = "pygrok";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "garyelephant";
repo = "pygrok";
rev = "v${version}";
sha256 = "07487rcmv74srnchh60jp0vg46g086qmpkaj8gxqhp9rj47r1s4m";
};
propagatedBuildInputs = [ regex ];
nativeCheckInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = {
maintainers = with lib.maintainers; [ winpat ];
description = "Python implementation of jordansissel's grok regular expression library";
homepage = "https://github.com/garyelephant/pygrok";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
}
|