discordo: move to by-name (#427505)

authored by Gaétan Lepage and committed by GitHub 01b50d08 207a3c09

+6 -9
+6 -7
pkgs/applications/networking/discordo/default.nix pkgs/by-name/di/discordo/package.nix
··· 8 8 wl-clipboard, 9 9 }: 10 10 11 - buildGoModule rec { 11 + buildGoModule (finalAttrs: { 12 12 pname = "discordo"; 13 13 version = "0-unstable-2025-06-26"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "ayn2op"; 17 - repo = pname; 17 + repo = "discordo"; 18 18 rev = "d701e7d15ba07457aa41ab1d1d02ce2c565c7736"; 19 19 hash = "sha256-E8Et8w8ebDjNKPnPIFHC+Ut2IfOCnNJKRwVFUVNf7+8="; 20 20 }; ··· 25 25 26 26 ldflags = [ 27 27 "-s" 28 - "-w" 29 28 ]; 30 29 31 30 # Clipboard support on X11 and Wayland ··· 45 44 extraArgs = [ "--version=branch" ]; 46 45 }; 47 46 48 - meta = with lib; { 47 + meta = { 49 48 description = "Lightweight, secure, and feature-rich Discord terminal client"; 50 49 homepage = "https://github.com/ayn2op/discordo"; 51 - license = licenses.mit; 52 - maintainers = [ maintainers.arian-d ]; 50 + license = lib.licenses.mit; 51 + maintainers = with lib.maintainers; [ arian-d ]; 53 52 mainProgram = "discordo"; 54 53 }; 55 - } 54 + })
-2
pkgs/top-level/all-packages.nix
··· 16428 16428 qt6Packages.callPackage ../applications/networking/instant-messengers/discord-screenaudio 16429 16429 { }; 16430 16430 16431 - discordo = callPackage ../applications/networking/discordo/default.nix { }; 16432 - 16433 16431 tomb = callPackage ../by-name/to/tomb/package.nix { 16434 16432 pinentry = pinentry-curses; 16435 16433 };