3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/tuir/default.nix

33 lines
773 B
Nix
Raw Normal View History

{ lib, fetchFromGitLab, python3Packages }:
with python3Packages;
buildPythonApplication rec {
pname = "tuir";
2020-04-29 11:34:26 +01:00
version = "1.29.0";
src = fetchFromGitLab {
owner = "ajak";
repo = pname;
rev = "v${version}";
2020-04-29 11:34:26 +01:00
sha256 = "1fqp6bvq8kzdsf3nna4mn1phdcixpx76bya43xrivxjbzsfl59ib";
};
# Tests try to access network
doCheck = false;
checkPhase = ''
py.test
'';
checkInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
propagatedBuildInputs = [ beautifulsoup4 decorator kitchen requests ];
meta = with lib; {
description = "Browse Reddit from your Terminal (fork of rtv)";
homepage = "https://gitlab.com/ajak/tuir/";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 matthiasbeyer ];
};
}