f1f4f38909
I'm baaaaack!
This patch reverts my patch where I removed myself as maintainer because
of my traveling. I'm back now and I want to maintain these packages
again.
This reverts commit ce1c1e3093
.
47 lines
843 B
Nix
47 lines
843 B
Nix
{ stdenv, fetchFromGitHub, python3Packages }:
|
|
|
|
with python3Packages;
|
|
buildPythonApplication rec {
|
|
version = "1.24.0";
|
|
pname = "rtv";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "michael-lazar";
|
|
repo = "rtv";
|
|
rev = "v${version}";
|
|
sha256 = "0vzhnqys8nr6ymsi1mnv092z3i7nwyhgnj4jv6mjifak9j3164fw";
|
|
};
|
|
|
|
# Tests try to access network
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
checkInputs = [
|
|
coverage
|
|
coveralls
|
|
docopt
|
|
mock
|
|
pylint
|
|
pytest
|
|
vcrpy
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
decorator
|
|
kitchen
|
|
requests
|
|
six
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/michael-lazar/rtv;
|
|
description = "Browse Reddit from your Terminal";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ matthiasbeyer jgeerds wedens ];
|
|
};
|
|
}
|