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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
635 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "kepubify";
version = "4.0.4";
src = fetchFromGitHub {
2020-07-14 21:37:32 +01:00
owner = "pgaskin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-H6W+C5twXit7Z9hLIJKAftbnvYDA9HAb9tR6yeQGRKI=";
};
vendorSha256 = "sha256-QOMLwDDvrDQAaK4M4QhBFTGD1CzblkDoA3ZqtCoRHtQ=";
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 21:37:32 +01:00
}