nixpkgs/pkgs/tools/misc/kepubify/default.nix

30 lines
697 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "kepubify";
version = "4.0.3";
src = fetchFromGitHub {
2020-07-14 22:37:32 +02:00
owner = "pgaskin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-pe4jNBoPjrkvsdeFjH4TNwacp0qkf+v+SjIAZqV1GWE=";
};
vendorSha256 = "sha256-eiFG6lgsY5hf+XT3Kf5uA4Ai8vBbPsh1T4ObV+rj30Y=";
# remove when built with >= go 1.17
2021-08-05 23:52:33 +02:00
tags = [ "zip117" ];
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 ];
};
2020-07-14 22:37:32 +02:00
}