base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / tu / tuir / package.nix
blob3cc36bf8ae3c7cb08d995df3d716042025cb01fe
1 { lib, fetchFromGitLab, python3Packages }:
3 with python3Packages;
4 buildPythonApplication rec {
5   pname = "tuir";
6   version = "1.31.0";
8   src = fetchFromGitLab {
9     owner = "Chocimier";
10     repo = pname;
11     rev = "v${version}";
12     hash = "sha256-VYBtD3Ex6+iIRNvX6jF0b0iPvno41/58xCRydiyssvk=";
13   };
15   # Tests try to access network
16   doCheck = false;
18   checkPhase = ''
19     py.test
20   '';
22   nativeCheckInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
24   propagatedBuildInputs = [ beautifulsoup4 decorator kitchen mailcap-fix requests six ];
26   meta = with lib; {
27     description = "Browse Reddit from your Terminal (fork of rtv)";
28     mainProgram = "tuir";
29     homepage = "https://gitlab.com/Chocimier/tuir";
30     license = licenses.mit;
31     maintainers = with maintainers; [ Br1ght0ne matthiasbeyer brokenpip3 ];
32   };