nixpkgs-suyu/pkgs/applications/misc/rtv/default.nix

29 lines
678 B
Nix
Raw Normal View History

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