My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pygrok/default.nix

28 lines
696 B

{ 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;
};
}