2020-03-27 07:33:21 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-02-18 06:32:51 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kepubify";
|
2022-03-09 21:37:13 +00:00
|
|
|
version = "4.0.4";
|
2020-02-18 06:32:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-07-14 21:37:32 +01:00
|
|
|
owner = "pgaskin";
|
2020-02-18 06:32:51 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-03-09 21:37:13 +00:00
|
|
|
sha256 = "sha256-H6W+C5twXit7Z9hLIJKAftbnvYDA9HAb9tR6yeQGRKI=";
|
2020-02-18 06:32:51 +00:00
|
|
|
};
|
|
|
|
|
2022-03-09 21:37:13 +00:00
|
|
|
vendorSha256 = "sha256-QOMLwDDvrDQAaK4M4QhBFTGD1CzblkDoA3ZqtCoRHtQ=";
|
2020-02-18 06:32:51 +00:00
|
|
|
|
2021-07-03 21:48:35 +01:00
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
2020-02-18 06:32:51 +00:00
|
|
|
|
2020-04-01 03:45:45 +01:00
|
|
|
excludedPackages = [ "kobotest" ];
|
2020-02-18 06:32:51 +00:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2020-02-18 06:32:51 +00:00
|
|
|
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
|
|
|
}
|