Skip to content

Commit

Permalink
python.pkgs.pygtail: init at 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Mar 24, 2018
1 parent efbeb74 commit 6a286fc
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/development/python-modules/pygtail/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ in {

pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { };

pygtail = callPackage ../development/python-modules/pygtail { };

pygtk = callPackage ../development/python-modules/pygtk { libglade = null; };

pygtksourceview = callPackage ../development/python-modules/pygtksourceview { };
Expand Down

0 comments on commit 6a286fc

Please sign in to comment.