vscodium: fix bundle resources being modified on darwin (#373630)
[NixPkgs.git] / pkgs / by-name / tu / tuir / package.nix
blobe193ea2d9ecfcbaacb62ee63fc90f07f9c04c0e4
2   lib,
3   fetchFromGitLab,
4   python3Packages,
5 }:
7 with python3Packages;
8 buildPythonApplication rec {
9   pname = "tuir";
10   version = "1.31.0";
12   src = fetchFromGitLab {
13     owner = "Chocimier";
14     repo = pname;
15     rev = "v${version}";
16     hash = "sha256-VYBtD3Ex6+iIRNvX6jF0b0iPvno41/58xCRydiyssvk=";
17   };
19   # Tests try to access network
20   doCheck = false;
22   checkPhase = ''
23     py.test
24   '';
26   nativeCheckInputs = [
27     coverage
28     coveralls
29     docopt
30     mock
31     pylint
32     pytest
33     vcrpy
34   ];
36   propagatedBuildInputs = [
37     beautifulsoup4
38     decorator
39     kitchen
40     mailcap-fix
41     requests
42     six
43   ];
45   meta = with lib; {
46     description = "Browse Reddit from your Terminal (fork of rtv)";
47     mainProgram = "tuir";
48     homepage = "https://gitlab.com/Chocimier/tuir";
49     license = licenses.mit;
50     maintainers = with maintainers; [
51       Br1ght0ne
52       matthiasbeyer
53       brokenpip3
54     ];
55   };