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