nixpkgs/pkgs/applications/misc/rtv/default.nix
Ryan Mulligan 9b2f74f831 rtv: 1.21.0 -> 1.22.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1/bin/.rtv-wrapped -h` got 0 exit code
- ran `/nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1/bin/.rtv-wrapped --help` got 0 exit code
- ran `/nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1/bin/.rtv-wrapped -V` and found version 1.22.1
- ran `/nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1/bin/.rtv-wrapped --version` and found version 1.22.1
- ran `/nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1/bin/rtv -h` got 0 exit code
- ran `/nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1/bin/rtv --help` got 0 exit code
- ran `/nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1/bin/rtv -V` and found version 1.22.1
- ran `/nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1/bin/rtv --version` and found version 1.22.1
- found 1.22.1 with grep in /nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1
- found 1.22.1 in filename of file in /nix/store/mpyc1z74lsma9vfc4b04glvvyfs0l40j-rtv-1.22.1
2018-03-15 05:31:30 -07:00

54 lines
974 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; [ matthiasbeyer jgeerds wedens ];
};
}