3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/rtv/default.nix

29 lines
678 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgs, python, pythonPackages }:
2015-04-19 18:01:10 +01:00
pythonPackages.buildPythonPackage rec {
2015-08-07 13:18:01 +01:00
version = "1.4.2";
2015-04-19 18:01:10 +01:00
name = "rtv-${version}";
src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
2015-08-07 13:18:01 +01:00
sha256 = "103ahwaaghxpih5bkbzqyqgxqmx6kc859vjla8fy8scg21cijghh";
2015-04-19 18:01:10 +01:00
};
propagatedBuildInputs = with pythonPackages; [
requests
six
praw
2015-06-19 18:10:20 +01:00
kitchen
2015-04-19 18:01:10 +01:00
python.modules.curses
];
2015-06-21 12:23:38 +01:00
meta = with stdenv.lib; {
2015-04-19 18:01:10 +01:00
homepage = https://github.com/michael-lazar/rtv;
description = "Browse Reddit from your Terminal";
2015-06-21 12:23:38 +01:00
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
2015-04-19 18:01:10 +01:00
};
}