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

29 lines
666 B
Nix
Raw Normal View History

2015-04-19 20:01:10 +03:00
{ stdenv, fetchurl, pkgs, python, pythonPackages }:
pythonPackages.buildPythonPackage rec {
2015-06-19 20:10:20 +03:00
version = "1.4";
2015-04-19 20:01:10 +03:00
name = "rtv-${version}";
src = fetchurl {
url = "https://github.com/michael-lazar/rtv/archive/v${version}.tar.gz";
2015-06-19 20:10:20 +03:00
sha256 = "0qi45was70p3z15pnh25hkbliya440jldlzmpasqvbdy9zdgpv0w";
2015-04-19 20:01:10 +03:00
};
propagatedBuildInputs = with pythonPackages; [
requests
six
praw
2015-06-19 20:10:20 +03:00
kitchen
2015-04-19 20:01:10 +03:00
python.modules.curses
];
meta = {
homepage = https://github.com/michael-lazar/rtv;
description = "Browse Reddit from your Terminal";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
};
}