@@ -0,0 +1,27 @@
1+{ stdenv, fetchurl, pkgs, python, pythonPackages }:
2+
3+pythonPackages.buildPythonPackage rec {
4+ version = "1.2.2";
5+ name = "rtv-${version}";
6+
7+ src = fetchurl {
8+ url = "https://github.com/michael-lazar/rtv/archive/v${version}.tar.gz";
9+ sha256 = "0pisairv28lhqvq8zs0whz3ww8fraj98941kk5idyxadbq0icmk3";
10+ };
11+
12+ propagatedBuildInputs = with pythonPackages; [
13+ requests
14+ six
15+ praw
16+ python.modules.curses
17+ ];
18+
19+ meta = {
20+ homepage = https://github.com/michael-lazar/rtv;
21+ description = "Browse Reddit from your Terminal";
22+ license = stdenv.lib.licenses.mit;
23+ maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
24+ };
25+}
26+
27+