depot/third_party/nixpkgs/pkgs/applications/misc/tuir/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

33 lines
838 B
Nix

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