default.nix (793B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 geoip2fast, 6 }: 7 8 python3Packages.buildPythonApplication rec { 9 pname = "tewi"; 10 version = "0.8.1"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "anlar"; 15 repo = "tewi"; 16 tag = "v${version}"; 17 hash = "sha256-64BuxGL/P9iwz0qSYhwzRJ54BYRB0HvqNU0Qb76Idcc="; 18 }; 19 20 build-system = with python3Packages; [ setuptools ]; 21 22 dependencies = with python3Packages; [ 23 textual 24 transmission-rpc 25 geoip2fast 26 pyperclip 27 ]; 28 29 meta = { 30 description = "Text-based interface for the Transmission BitTorrent daemon"; 31 homepage = "https://github.com/anlar/tewi"; 32 license = lib.licenses.gpl3Plus; 33 maintainers = [ lib.maintainers.sikmir ]; 34 mainProgram = "tewi"; 35 broken = true; # textual is broken 36 }; 37 }