diff options
author | Oleksii Filonenko <brightone@protonmail.com> | 2019-12-17 14:32:59 +0200 |
---|---|---|
committer | Oleksii Filonenko <brightone@protonmail.com> | 2019-12-30 17:33:29 +0200 |
commit | 84e0fbfcac1876000b959773dc69a3e83d5c441d (patch) | |
tree | 642e6a7c38fbbcceeb26403770eae8415120c545 /pkgs/applications/misc/tuir | |
parent | 418ad571c3ec856d49b65fa53ab99f185c2d9def (diff) |
tuir: init at 1.28.03
Co-authored-by: Nikolay Korotkiy <sikmir@gmail.com>
Diffstat (limited to 'pkgs/applications/misc/tuir')
-rw-r--r-- | pkgs/applications/misc/tuir/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tuir/default.nix b/pkgs/applications/misc/tuir/default.nix new file mode 100644 index 0000000000000..d6cb2daa88115 --- /dev/null +++ b/pkgs/applications/misc/tuir/default.nix @@ -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 ]; + }; +} |