2024-02-04 21:45:11 +00:00
|
|
|
{ pkgs, lib }:
|
|
|
|
|
|
|
|
pkgs.buildGo121Module rec {
|
|
|
|
pname = "discord-downloader-go";
|
2024-02-06 16:32:24 +00:00
|
|
|
version = "2.5.0-dev";
|
2024-02-04 21:45:11 +00:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "get-got";
|
|
|
|
repo = pname;
|
2024-02-06 16:32:24 +00:00
|
|
|
rev = "192d54c4ebdaeaf7e6e094bd59121ae13d50aede";
|
|
|
|
hash = "sha256-HF2qRfD08XSWmciS2wenAP45aNADx6LA++NtVRs1LKY=";
|
2024-02-04 21:45:11 +00:00
|
|
|
};
|
|
|
|
|
2024-02-06 16:32:24 +00:00
|
|
|
vendorHash = "sha256-7H42mz2GxSg3/dw92lX+HHxEHdJp/0AoIbUEGN3JX9c=";
|
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" ];
|
|
|
|
};
|
|
|
|
}
|