summary refs log tree commit diff
path: root/pkgs/applications/misc/rtv/default.nix
blob: d79ef187377358357acecf22e7fcccf3dd8e5fb6 (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
28
{ stdenv, fetchurl, pkgs, python, pythonPackages }:

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

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

  propagatedBuildInputs = with pythonPackages; [
    requests
    six
    praw
    kitchen
    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 ];
  };
}