3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/toot/default.nix
Matthias Beyer ff7c4a9417
toot: 0.27.0 -> 0.28.0 (#141354)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-12 17:16:31 +02:00

32 lines
700 B
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "toot";
version = "0.28.0";
src = fetchFromGitHub {
owner = "ihabunek";
repo = "toot";
rev = version;
sha256 = "076r6l89gxjwxjpiklidcs8yajn5c2bnqjvbj4wc559iqdqj88lz";
};
checkInputs = with python3Packages; [ pytest ];
propagatedBuildInputs = with python3Packages;
[ requests beautifulsoup4 future wcwidth urwid ];
checkPhase = ''
py.test
'';
meta = with lib; {
description = "Mastodon CLI interface";
homepage = "https://github.com/ihabunek/toot";
license = licenses.gpl3;
maintainers = [ maintainers.matthiasbeyer ];
};
}