python3Packages.tailer: init at 0.4.1
This commit is contained in:
parent
0425d81848
commit
5119a3386c
32
pkgs/development/python-modules/tailer/default.nix
Normal file
32
pkgs/development/python-modules/tailer/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "tailer";
|
||||||
|
version = "0.4.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "six8";
|
||||||
|
repo = "pytailer";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1s5p5m3q9k7r1m0wx5wcxf20xzs0rj14qwg1ydwhf6adr17y2w5y";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
${python.interpreter} -m doctest -v src/tailer/__init__.py
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "tailer" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python implementation implementation of GNU tail and head";
|
||||||
|
homepage = "https://github.com/six8/pytailer";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -8284,6 +8284,8 @@ in {
|
|||||||
|
|
||||||
tahoma-api = callPackage ../development/python-modules/tahoma-api { };
|
tahoma-api = callPackage ../development/python-modules/tahoma-api { };
|
||||||
|
|
||||||
|
tailer = callPackage ../development/python-modules/tailer { };
|
||||||
|
|
||||||
tarman = callPackage ../development/python-modules/tarman { };
|
tarman = callPackage ../development/python-modules/tarman { };
|
||||||
|
|
||||||
tasklib = callPackage ../development/python-modules/tasklib { };
|
tasklib = callPackage ../development/python-modules/tasklib { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user