Merge branch 'master' into staging
This commit is contained in:
21
pkgs/development/python-modules/logster/default.nix
Normal file
21
pkgs/development/python-modules/logster/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pygtail }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "logster";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "etsy";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "06ac5hydas24h2cn8l5i69v1z0min5hwh6a1lcm1b08xnvpsi85q";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pygtail ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parses log files, generates metrics for Graphite and Ganglia";
|
||||
license = licenses.gpl3Plus;
|
||||
homepage = https://github.com/etsy/logster;
|
||||
};
|
||||
}
|
||||
25
pkgs/development/python-modules/pygtail/default.nix
Normal file
25
pkgs/development/python-modules/pygtail/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygtail";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bgreenlee";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1f8qlijiwn10jxg1bsi6q42fznbg8rw039yaxfh6rzbaj2gaxbz1";
|
||||
};
|
||||
|
||||
# remove at next bump, tag is one commit early for 0.8.0
|
||||
postPatch = ''
|
||||
substituteInPlace pygtail/core.py \
|
||||
--replace 0.7.0 0.8.0
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for reading log file lines that have not been read";
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = https://github.com/bgreenlee/pygtail;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user