git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.pygtail: init at 0.8.0
commit6a286fcba7f4244cfd175efffe5977da3b2c6c13 authorRobin Gloster <mail@glob.in> dateSat 24 Mar 2018, 10:34 (9 years ago) parentefbeb74
2 files changed+27
pkgs/development/python-modules/pygtail/default.nix+25 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pygtail/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ lib, buildPythonPackage, fetchFromGitHub }:
2+
3+buildPythonPackage rec {
4+ pname = "pygtail";
5+ version = "0.8.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "bgreenlee";
9+ repo = pname;
10+ rev = version;
11+ sha256 = "1f8qlijiwn10jxg1bsi6q42fznbg8rw039yaxfh6rzbaj2gaxbz1";
12+ };
13+
14+ # remove at next bump, tag is one commit early for 0.8.0
15+ postPatch = ''
16+ substituteInPlace pygtail/core.py \
17+ --replace 0.7.0 0.8.0
18+ '';
19+
20+ meta = with lib; {
21+ description = "A library for reading log file lines that have not been read";
22+ license = licenses.gpl2Plus;
23+ homepage = https://github.com/bgreenlee/pygtail;
24+ };
25+}
pkgs/top-level/python-packages.nix+2
@@ -339,6 +339,8 @@ in {
339339
340340 pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { };
341341
342+ pygtail = callPackage ../development/python-modules/pygtail { };
343+
342344 pygtk = callPackage ../development/python-modules/pygtk { libglade = null; };
343345
344346 pygtksourceview = callPackage ../development/python-modules/pygtksourceview { };