2015-11-22 00:14:42 -05:00
|
|
|
{ stdenv, fetchFromGitHub, pkgs, lib, python, pythonPackages }:
|
2015-04-19 13:01:10 -04:00
|
|
|
|
2016-02-19 07:12:11 -05:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2017-04-25 06:41:51 -04:00
|
|
|
version = "1.15.1";
|
2015-04-19 13:01:10 -04:00
|
|
|
name = "rtv-${version}";
|
|
|
|
|
2015-06-24 15:45:31 -04:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "michael-lazar";
|
|
|
|
repo = "rtv";
|
|
|
|
rev = "v${version}";
|
2017-04-25 06:41:51 -04:00
|
|
|
sha256 = "037dhds1prxj7vsq15dr46wk3pfk3ixr0d60m3h796b6nbc1spya";
|
2015-04-19 13:01:10 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
2017-01-03 06:38:45 -05:00
|
|
|
beautifulsoup4
|
|
|
|
mailcap-fix
|
2015-11-22 00:14:42 -05:00
|
|
|
tornado
|
|
|
|
requests2
|
2015-04-19 13:01:10 -04:00
|
|
|
six
|
|
|
|
praw
|
2015-06-19 13:10:20 -04:00
|
|
|
kitchen
|
2016-07-28 08:00:37 -04:00
|
|
|
praw
|
2017-04-25 06:41:51 -04:00
|
|
|
vcrpy
|
|
|
|
pylint
|
|
|
|
coverage
|
|
|
|
pytest
|
|
|
|
coveralls
|
|
|
|
contextlib2
|
|
|
|
backports_functools_lru_cache
|
|
|
|
pyyaml
|
|
|
|
docopt
|
2015-11-22 00:14:42 -05:00
|
|
|
] ++ lib.optional (!pythonPackages.isPy3k) futures;
|
2015-04-19 13:01:10 -04:00
|
|
|
|
2015-11-22 00:14:42 -05:00
|
|
|
meta = with lib; {
|
2015-04-19 13:01:10 -04:00
|
|
|
homepage = https://github.com/michael-lazar/rtv;
|
|
|
|
description = "Browse Reddit from your Terminal";
|
2015-06-21 07:23:38 -04:00
|
|
|
license = licenses.mit;
|
2016-04-06 12:12:16 -04:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer jgeerds wedens ];
|
2015-04-19 13:01:10 -04:00
|
|
|
};
|
|
|
|
}
|