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

27 lines
667 B
Nix
Raw Normal View History

2015-04-19 19:01:10 +02:00
{ stdenv, fetchurl, pkgs, python, pythonPackages }:
pythonPackages.buildPythonPackage rec {
2015-06-19 19:10:20 +02:00
version = "1.4";
2015-04-19 19:01:10 +02:00
name = "rtv-${version}";
src = fetchurl {
url = "https://github.com/michael-lazar/rtv/archive/v${version}.tar.gz";
2015-06-19 19:10:20 +02:00
sha256 = "0qi45was70p3z15pnh25hkbliya440jldlzmpasqvbdy9zdgpv0w";
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
};
}