2020-03-27 07:33:21 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-02-18 06:32:51 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kepubify";
|
2020-07-12 08:17:25 +01:00
|
|
|
version = "3.1.3";
|
2020-02-18 06:32:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "geek1011";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-12 08:17:25 +01:00
|
|
|
sha256 = "1fd7w9cmdca6ivppmpn5bkqxmz50xgihrm2pbz6h8jf92i485md0";
|
2020-02-18 06:32:51 +00:00
|
|
|
};
|
|
|
|
|
2020-07-12 08:17:25 +01:00
|
|
|
vendorSha256 = "1gzlxdbmrqqnrjx83g65yn7n93w13ci4vr3mpywasxfad866gc24";
|
2020-02-18 06:32:51 +00:00
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
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-05-01 02:59:00 +01:00
|
|
|
}
|