mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
30 lines
749 B
Nix
30 lines
749 B
Nix
{ stdenv, fetchFromGitHub, pkgs, lib, python, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
version = "1.9.0";
|
|
name = "rtv-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "michael-lazar";
|
|
repo = "rtv";
|
|
rev = "v${version}";
|
|
sha256 = "18r3i2zlcprj6d4nzhhbd6sm1fs2x28924xsm6lcxa1643gkyb7i";
|
|
};
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
tornado
|
|
requests2
|
|
six
|
|
praw
|
|
kitchen
|
|
python.modules.curses
|
|
] ++ lib.optional (!pythonPackages.isPy3k) futures;
|
|
|
|
meta = with lib; {
|
|
homepage = https://github.com/michael-lazar/rtv;
|
|
description = "Browse Reddit from your Terminal";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ matthiasbeyer jgeerds wedens ];
|
|
};
|
|
}
|