Skip to content

Commit

Permalink
Merge pull request #75817 from filalex77/tuir-1.28.3
Browse files Browse the repository at this point in the history
tuir: init at 1.28.03
  • Loading branch information
aanderse authored Jan 11, 2020
2 parents f5f0612 + 687e31c commit 708a177
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/applications/misc/tuir/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib, fetchFromGitLab, python3Packages }:

with python3Packages;
buildPythonApplication rec {
pname = "tuir";
version = "1.28.3";

src = fetchFromGitLab {
owner = "ajak";
repo = pname;
rev = "v${version}";
sha256 = "0nhpbb0vdngwb0fhlimjgm3wq2s67m4rb3vv920zyllnmfplk0lk";
};

# Tests try to access network
doCheck = false;

checkPhase = ''
py.test
'';

checkInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];

propagatedBuildInputs = [ beautifulsoup4 decorator kitchen requests ];

meta = with lib; {
description = "Browse Reddit from your Terminal (fork of rtv)";
homepage = "https://gitlab.com/ajak/tuir/";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 matthiasbeyer ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6888,6 +6888,8 @@ in

ttylog = callPackage ../tools/misc/ttylog { };

tuir = callPackage ../applications/misc/tuir { };

turses = callPackage ../applications/networking/instant-messengers/turses { };

oysttyer = callPackage ../applications/networking/instant-messengers/oysttyer { };
Expand Down

0 comments on commit 708a177

Please sign in to comment.