1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/applications/misc/rtv/default.nix
R. RyanTM 4395124b0c rtv: 1.22.1 -> 1.23.0 (#42960)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/rtv/versions.

These checks were done:

- built on NixOS
- /nix/store/dwraqsqfsm0m4qvl5wlqhmnb54wpxwkc-rtv-1.23.0/bin/.rtv-wrapped passed the binary check.
- /nix/store/dwraqsqfsm0m4qvl5wlqhmnb54wpxwkc-rtv-1.23.0/bin/rtv passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 1.23.0 with grep in /nix/store/dwraqsqfsm0m4qvl5wlqhmnb54wpxwkc-rtv-1.23.0
- directory tree listing: https://gist.github.com/8c64789a90d08be3073dbc8eac48d879
- du listing: https://gist.github.com/f267d185b2f0ddae8c300012c670bc9e
2018-07-04 10:44:47 +02:00

54 lines
960 B
Nix

{ stdenv, fetchFromGitHub, pkgs, pythonPackages }:
with pythonPackages;
buildPythonApplication rec {
version = "1.23.0";
name = "rtv-${version}";
src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
sha256 = "0i6iqj3ly1bgsfa9403m5190mfl9yk1x4ific3v31wqfja985nsr";
};
# 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 ];
};
}