mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
28 lines
656 B
Nix
28 lines
656 B
Nix
|
{ stdenv, fetchurl, pkgs, python, pythonPackages }:
|
||
|
|
||
|
pythonPackages.buildPythonPackage rec {
|
||
|
version = "1.2.2";
|
||
|
name = "rtv-${version}";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/michael-lazar/rtv/archive/v${version}.tar.gz";
|
||
|
sha256 = "0pisairv28lhqvq8zs0whz3ww8fraj98941kk5idyxadbq0icmk3";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = with pythonPackages; [
|
||
|
requests
|
||
|
six
|
||
|
praw
|
||
|
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 ];
|
||
|
};
|
||
|
}
|
||
|
|
||
|
|