summary refs log tree commit diff
path: root/pkgs/applications/misc/rtv/default.nix
blob: 30ce67a82f6c5801595e8a0c1c87eeb39d10066e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, pkgs, python, pythonPackages }:

pythonPackages.buildPythonPackage rec {
  version = "1.2.2";
  name = "rtv-${version}";

  src = fetchurl {
    url = "https://github.com/michael-lazar/rtv/archive/v${version}.tar.gz";
    sha256 = "0pisairv28lhqvq8zs0whz3ww8fraj98941kk5idyxadbq0icmk3";
  };

  propagatedBuildInputs = with pythonPackages; [
    requests
    six
    praw
    python.modules.curses
  ];

  meta = {
    homepage = https://github.com/michael-lazar/rtv;
    description = "Browse Reddit from your Terminal";
    license = stdenv.lib.licenses.mit;
    maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
  };
}