discordo: 0-unstable-2025-12-06 -> 0-unstable-2026-01-23

This commit is contained in:
siphc
2026-01-24 14:05:48 -08:00
parent 50cfe00fd8
commit 5032bf8a83
+12 -8
View File
@@ -4,31 +4,36 @@
buildGoModule,
fetchFromGitHub,
nix-update-script,
libx11,
makeWrapper,
xsel,
wl-clipboard,
}:
buildGoModule (finalAttrs: {
pname = "discordo";
version = "0-unstable-2025-12-06";
version = "0-unstable-2026-01-23";
src = fetchFromGitHub {
owner = "ayn2op";
repo = "discordo";
rev = "a9359209369cf816bdab76d4feeb8270a5410040";
hash = "sha256-Dudlghaz3RGZaHSExyzmeVUZufU8w1ONSE3nh/GINHQ=";
rev = "08bda9e40541d32e9313405824550cff41f60912";
hash = "sha256-80ZG1lQV4/kf4zqW2ANkRIJSZbjwCKsV0TTwSZuoMGk=";
};
vendorHash = "sha256-IFZcBq58qLRmU0eDrPNh/vEL3L+FZX1AHS09vtWmRaQ=";
vendorHash = "sha256-quRRGf9eVCK7OYgPhBn+qM6WTUGra9I2eUxkRbCXxB8=";
env.CGO_ENABLED = 0;
env.CGO_ENABLED = 1;
ldflags = [
"-s"
];
# Clipboard support on X11 and Wayland
# Clipboard support on X11
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
libx11
];
# Clipboard support on Wayland
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [
makeWrapper
];
@@ -37,7 +42,6 @@ buildGoModule (finalAttrs: {
wrapProgram $out/bin/discordo \
--prefix PATH : ${
lib.makeBinPath [
xsel
wl-clipboard
]
}