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-10 22:00:18 +00:00
|
|
|
rev = "837c9792182d94863fdfdda8f18db68407fb3df9";
|
|
|
|
hash = "sha256-pypkbDoinrRJxfTaVv2mKKMRXUqKIkW7xZJtRjSKtAM=";
|
2024-02-04 21:45:11 +00:00
|
|
|
};
|
|
|
|
|
2024-02-10 22:00:18 +00:00
|
|
|
vendorHash = "sha256-B//+f+jQMW5fj7aeyyi6DvTed40jvc7fxsgToIK0T3w=";
|
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" ];
|
|
|
|
};
|
|
|
|
}
|