24 lines
743 B
Nix
24 lines
743 B
Nix
{ pkgs, lib }:
|
|
|
|
pkgs.buildGo121Module rec {
|
|
pname = "discord-downloader-go";
|
|
version = "2.5.0-dev";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "get-got";
|
|
repo = pname;
|
|
rev = "192d54c4ebdaeaf7e6e094bd59121ae13d50aede";
|
|
hash = "sha256-HF2qRfD08XSWmciS2wenAP45aNADx6LA++NtVRs1LKY=";
|
|
};
|
|
|
|
vendorHash = "sha256-7H42mz2GxSg3/dw92lX+HHxEHdJp/0AoIbUEGN3JX9c=";
|
|
|
|
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" ];
|
|
};
|
|
}
|