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

30 lines
738 B
Nix
Raw Normal View History

2015-11-22 06:14:42 +01:00
{ stdenv, fetchFromGitHub, pkgs, lib, python, pythonPackages }:
2015-04-19 19:01:10 +02:00
pythonPackages.buildPythonPackage rec {
2015-12-10 17:06:12 +01:00
version = "1.7.0";
2015-04-19 19:01:10 +02:00
name = "rtv-${version}";
src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
2015-12-10 17:06:12 +01:00
sha256 = "0fynymia3c2rynq9bm0jssd3rad7f7hhmjpkby7yj6g3jvk7jn4x";
2015-04-19 19:01:10 +02:00
};
propagatedBuildInputs = with pythonPackages; [
2015-11-22 06:14:42 +01:00
tornado
requests2
2015-04-19 19:01:10 +02:00
six
praw
2015-06-19 19:10:20 +02:00
kitchen
2015-04-19 19:01:10 +02:00
python.modules.curses
2015-11-22 06:14:42 +01:00
] ++ lib.optional (!pythonPackages.isPy3k) futures;
2015-04-19 19:01:10 +02:00
2015-11-22 06:14:42 +01:00
meta = with 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
};
}