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

27 lines
667 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
];
2015-06-21 14:23:38 +03:00
meta = with stdenv.lib; {
2015-04-19 20:01:10 +03:00
homepage = https://github.com/michael-lazar/rtv;
description = "Browse Reddit from your Terminal";
2015-06-21 14:23:38 +03:00
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
2015-04-19 20:01:10 +03:00
};
}