1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/applications/misc/rtv/default.nix

47 lines
829 B
Nix
Raw Normal View History

2018-07-24 03:44:35 -04:00
{ stdenv, fetchFromGitHub, python3Packages }:
2015-04-19 13:01:10 -04:00
2018-07-24 03:44:35 -04:00
with python3Packages;
buildPythonApplication rec {
version = "1.24.0";
2018-07-24 03:44:35 -04:00
pname = "rtv";
2015-04-19 13:01:10 -04:00
src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
sha256 = "0vzhnqys8nr6ymsi1mnv092z3i7nwyhgnj4jv6mjifak9j3164fw";
2015-04-19 13:01:10 -04:00
};
# Tests try to access network
doCheck = false;
checkPhase = ''
py.test
'';
2018-07-24 03:44:35 -04:00
checkInputs = [
coverage
coveralls
docopt
mock
pylint
pytest
vcrpy
];
propagatedBuildInputs = [
2017-01-03 06:38:45 -05:00
beautifulsoup4
decorator
kitchen
requests
2015-04-19 13:01:10 -04:00
six
];
2015-04-19 13:01:10 -04:00
meta = with stdenv.lib; {
2015-04-19 13:01:10 -04:00
homepage = https://github.com/michael-lazar/rtv;
description = "Browse Reddit from your Terminal";
2015-06-21 07:23:38 -04:00
license = licenses.mit;
maintainers = with maintainers; [ jgeerds wedens ];
2015-04-19 13:01:10 -04:00
};
}