nixpkgs/pkgs/by-name/fa/fanbox-dl/package.nix
2024-08-14 17:27:18 +00:00

27 lines
628 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "fanbox-dl";
version = "0.23.1";
src = fetchFromGitHub {
owner = "hareku";
repo = "fanbox-dl";
rev = "v${version}";
hash = "sha256-EO1J90uH2J8EI51qGzIQyl4BbSwijkEi5ZQENgSMEm8=";
};
vendorHash = "sha256-GD5uxa5XWhlHHBztTpDKCTSym2pdkr/or6aGl9qF29U=";
# pings websites during testing
doCheck = false;
meta = with lib; {
description = "Pixiv FANBOX Downloader";
mainProgram = "fanbox-dl";
homepage = "https://github.com/hareku/fanbox-dl";
license = licenses.mit;
maintainers = [ maintainers.moni ];
};
}