nixpkgs/pkgs/applications/misc/tuir/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
809 B
Nix
Raw Normal View History

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