1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/applications/misc/rtv/default.nix

30 lines
738 B
Nix
Raw Normal View History

2015-11-22 00:14:42 -05:00
{ stdenv, fetchFromGitHub, pkgs, lib, python, pythonPackages }:
2015-04-19 13:01:10 -04:00
pythonPackages.buildPythonPackage rec {
2015-12-27 03:02:21 -05:00
version = "1.8.0";
2015-04-19 13:01:10 -04:00
name = "rtv-${version}";
src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
2015-12-27 03:02:21 -05:00
sha256 = "0vp9yapm6bm4zdhd1ibbirc23ck7smrbsrask7xkrnz7qysxgsd3";
2015-04-19 13:01:10 -04:00
};
propagatedBuildInputs = with pythonPackages; [
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
2015-04-19 13:01:10 -04:00
python.modules.curses
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;
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
2015-04-19 13:01:10 -04:00
};
}