3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/kepubify/default.nix
2022-02-11 11:28:42 +10:00

27 lines
635 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "kepubify";
version = "4.0.3";
src = fetchFromGitHub {
owner = "pgaskin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-pe4jNBoPjrkvsdeFjH4TNwacp0qkf+v+SjIAZqV1GWE=";
};
vendorSha256 = "sha256-eiFG6lgsY5hf+XT3Kf5uA4Ai8vBbPsh1T4ObV+rj30Y=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
excludedPackages = [ "kobotest" ];
meta = with lib; {
description = "EPUB to KEPUB converter";
homepage = "https://pgaskin.net/kepubify";
license = licenses.mit;
maintainers = with maintainers; [ zowoq ];
};
}