mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
27 lines
628 B
Nix
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 ];
|
|
};
|
|
}
|