1
0
Fork 0
nix-overlay/packages/discord-downloader-go.nix

26 lines
786 B
Nix
Raw Normal View History

2024-02-04 21:45:11 +00:00
{ pkgs, lib }:
pkgs.buildGo121Module rec {
pname = "discord-downloader-go";
2024-02-11 18:00:45 +00:00
version = "2.5.2-dev";
2024-02-04 21:45:11 +00:00
src = pkgs.fetchFromGitHub {
owner = "get-got";
repo = pname;
2024-02-11 18:00:45 +00:00
rev = "34c2e1e044b90817a422ace40711ee89c65b162f";
hash = "sha256-Zdxm42T4sXhhiWZaVdT1pTvmFNsmhcK5ph1S7JHZ6XQ=";
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" ];
2024-02-11 18:00:45 +00:00
mainProgram = "discord-downloader-go";
2024-02-04 21:45:11 +00:00
};
}