1
0
Fork 0
nix-overlay/packages/discord-downloader-go.nix
Daniel Kempkens 40e71792df
All checks were successful
Build / build-arm64-linux (push) Successful in 42s
Build / build-amd64-linux (push) Successful in 1m3s
ddg: fix build
2024-10-10 12:06:18 +02:00

25 lines
750 B
Nix

{ pkgs, lib }:
pkgs.buildGoModule rec {
pname = "discord-downloader-go";
version = "2.5.3";
src = pkgs.fetchFromGitHub {
owner = "get-got";
repo = pname;
rev = "v${version}";
hash = "sha256-WmVOrJz1hqxP/8hLEZmeNsd0ySNI468r8J7nkE7yJIo=";
};
vendorHash = "sha256-Wwm0VejxE6FvHpAWpXlvEcxQQlHZiFM09yjOeSO8Dhg=";
doCheck = false;
meta = with lib; {
description = "A Discord bot program to download and otherwise handle files sent in Discord channels with extensive configuration.";
homepage = "https://github.com/get-got/discord-downloader-go";
license = [ licenses.mit ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
mainProgram = "discord-downloader-go";
};
}