nixpkgs/pkgs/by-name/tu/tuir/package.nix

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

34 lines
838 B
Nix
Raw Normal View History

{ lib, fetchFromGitLab, python3Packages }:
with python3Packages;
buildPythonApplication rec {
pname = "tuir";
2024-08-30 07:37:42 +00:00
version = "1.31.0";
src = fetchFromGitLab {
2024-08-30 07:37:42 +00:00
owner = "Chocimier";
repo = pname;
rev = "v${version}";
2024-08-30 07:37:42 +00:00
hash = "sha256-VYBtD3Ex6+iIRNvX6jF0b0iPvno41/58xCRydiyssvk=";
};
# Tests try to access network
doCheck = false;
checkPhase = ''
py.test
'';
nativeCheckInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
2024-08-30 07:37:42 +00:00
propagatedBuildInputs = [ beautifulsoup4 decorator kitchen mailcap-fix requests six ];
meta = with lib; {
description = "Browse Reddit from your Terminal (fork of rtv)";
mainProgram = "tuir";
2024-08-30 07:37:42 +00:00
homepage = "https://gitlab.com/Chocimier/tuir";
license = licenses.mit;
2024-09-01 08:37:39 +00:00
maintainers = with maintainers; [ Br1ght0ne matthiasbeyer brokenpip3 ];
};
}