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

32 lines
768 B
Nix
Raw Normal View History

2015-11-22 05:14:42 +00:00
{ stdenv, fetchFromGitHub, pkgs, lib, python, pythonPackages }:
2015-04-19 18:01:10 +01:00
pythonPackages.buildPythonApplication rec {
2017-01-03 11:38:45 +00:00
version = "1.13.0";
2015-04-19 18:01:10 +01:00
name = "rtv-${version}";
src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
2017-01-03 11:38:45 +00:00
sha256 = "0rxncbzb4a7zlfxmnn5jm6yvwviaaj0v220vwv82hkjiwcdjj8jf";
2015-04-19 18:01:10 +01:00
};
propagatedBuildInputs = with pythonPackages; [
2017-01-03 11:38:45 +00:00
beautifulsoup4
mailcap-fix
2015-11-22 05:14:42 +00:00
tornado
requests2
2015-04-19 18:01:10 +01:00
six
praw
2015-06-19 18:10:20 +01:00
kitchen
2016-07-28 13:00:37 +01:00
praw
2015-11-22 05:14:42 +00:00
] ++ lib.optional (!pythonPackages.isPy3k) futures;
2015-04-19 18:01:10 +01:00
2015-11-22 05:14:42 +00:00
meta = with 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;
2016-04-06 17:12:16 +01:00
maintainers = with maintainers; [ matthiasbeyer jgeerds wedens ];
2015-04-19 18:01:10 +01:00
};
}