mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
34 lines
809 B
Nix
34 lines
809 B
Nix
{ lib, fetchFromGitLab, python3Packages }:
|
|
|
|
with python3Packages;
|
|
buildPythonApplication rec {
|
|
pname = "tuir";
|
|
version = "1.29.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "ajak";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1fqp6bvq8kzdsf3nna4mn1phdcixpx76bya43xrivxjbzsfl59ib";
|
|
};
|
|
|
|
# Tests try to access network
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
nativeCheckInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
|
|
|
|
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 ];
|
|
};
|
|
}
|