1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 11:32:03 +00:00
nixpkgs/pkgs/applications/misc/rtv/default.nix

47 lines
835 B
Nix
Raw Normal View History

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