pygrok: init at 1.0.0
This commit is contained in:
parent
484613c1a1
commit
2d61c4c8fe
28
pkgs/development/python-modules/pygrok/default.nix
Normal file
28
pkgs/development/python-modules/pygrok/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, regex, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pygrok";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "garyelephant";
|
||||||
|
repo = "pygrok";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "07487rcmv74srnchh60jp0vg46g086qmpkaj8gxqhp9rj47r1s4m";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ regex ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
maintainers = with maintainers; [ winpat ];
|
||||||
|
description = "A python implementation of jordansissel's grok regular expression library";
|
||||||
|
homepage = "https://github.com/garyelephant/pygrok";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -3505,6 +3505,8 @@ in {
|
|||||||
|
|
||||||
regex = callPackage ../development/python-modules/regex { };
|
regex = callPackage ../development/python-modules/regex { };
|
||||||
|
|
||||||
|
pygrok = callPackage ../development/python-modules/pygrok { };
|
||||||
|
|
||||||
regional = callPackage ../development/python-modules/regional { };
|
regional = callPackage ../development/python-modules/regional { };
|
||||||
|
|
||||||
ratelimiter = callPackage ../development/python-modules/ratelimiter { };
|
ratelimiter = callPackage ../development/python-modules/ratelimiter { };
|
||||||
|
Loading…
Reference in New Issue
Block a user