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

26 lines
750 B
Nix
Raw Normal View History

2024-02-04 21:45:11 +00:00
{ pkgs, lib }:
2024-10-10 10:06:13 +00:00
pkgs.buildGoModule rec {
2024-02-04 21:45:11 +00:00
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
};
}