2024-02-04 21:45:11 +00:00
|
|
|
{ pkgs, lib }:
|
|
|
|
|
|
|
|
pkgs.buildGo121Module rec {
|
|
|
|
pname = "discord-downloader-go";
|
2024-04-28 21:58:46 +00:00
|
|
|
version = "2.5.3";
|
2024-02-04 21:45:11 +00:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "get-got";
|
|
|
|
repo = pname;
|
2024-04-28 21:58:46 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-WmVOrJz1hqxP/8hLEZmeNsd0ySNI468r8J7nkE7yJIo=";
|
2024-02-04 21:45:11 +00:00
|
|
|
};
|
|
|
|
|
2024-04-28 21:58:46 +00:00
|
|
|
vendorHash = "sha256-Wwm0VejxE6FvHpAWpXlvEcxQQlHZiFM09yjOeSO8Dhg=";
|
2024-02-04 21:45:11 +00:00
|
|
|
|
|
|
|
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" ];
|
2024-02-11 18:00:45 +00:00
|
|
|
mainProgram = "discord-downloader-go";
|
2024-02-04 21:45:11 +00:00
|
|
|
};
|
|
|
|
}
|