2024-01-25 14:12:00 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "fanbox-dl";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.22.1";
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hareku";
|
|
|
|
repo = "fanbox-dl";
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-wMFxAi4ENFFdMwHpgfOp/FRF6h2p91NS94FAjH/C2ww=";
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
vendorHash = "sha256-GD5uxa5XWhlHHBztTpDKCTSym2pdkr/or6aGl9qF29U=";
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
# pings websites during testing
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pixiv FANBOX Downloader";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "fanbox-dl";
|
2024-01-25 14:12:00 +00:00
|
|
|
homepage = "https://github.com/hareku/fanbox-dl";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.moni ];
|
|
|
|
};
|
|
|
|
}
|