forked from mirrors/nixpkgs
ce1c1e3093
With this patch I remove myself as a maintainer for all packages I currently maintain. This is due the fact that I will be basically off the grid from May 2018 until early 2019, as I will be on a trip through north america. I will revert this patch as soon as I'm back, as I plan to continue contributing to nixpkgs then. But as I cannot maintain anything during that time, I'd like to get this patch merged. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
54 lines
960 B
Nix
54 lines
960 B
Nix
{ stdenv, fetchFromGitHub, pkgs, pythonPackages }:
|
|
|
|
with pythonPackages;
|
|
buildPythonApplication rec {
|
|
version = "1.22.1";
|
|
name = "rtv-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "michael-lazar";
|
|
repo = "rtv";
|
|
rev = "v${version}";
|
|
sha256 = "1jil8cwhnpf2mclgah7s79j4c38hzm0j6di2mffrqhlsnn2vxbf4";
|
|
};
|
|
|
|
# Tests try to access network
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
buildInputs = [
|
|
coverage
|
|
coveralls
|
|
docopt
|
|
mock
|
|
pylint
|
|
pytest
|
|
vcrpy
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
backports_functools_lru_cache
|
|
beautifulsoup4
|
|
configparser
|
|
contextlib2
|
|
decorator
|
|
kitchen
|
|
mailcap-fix
|
|
mccabe
|
|
requests
|
|
six
|
|
tornado
|
|
pyyaml
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/michael-lazar/rtv;
|
|
description = "Browse Reddit from your Terminal";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jgeerds wedens ];
|
|
};
|
|
}
|