1 { lib, fetchFromGitHub, python3Packages, nixosTests }:
3 python3Packages.buildPythonApplication rec {
7 src = fetchFromGitHub {
10 rev = "refs/tags/${version}";
11 sha256 = "sha256-0L/5i+m0rh1VjsZ0N2cshi+Nw951ASjMf5y6JxV53ko=";
14 nativeCheckInputs = with python3Packages; [ pytest ];
16 propagatedBuildInputs = with python3Packages;
17 [ requests beautifulsoup4 future wcwidth urwid psycopg2 tomlkit ];
23 passthru.tests.toot = nixosTests.pleroma;
26 description = "Mastodon CLI interface";
27 homepage = "https://github.com/ihabunek/toot";
28 license = licenses.gpl3;
29 maintainers = [ maintainers.matthiasbeyer ];