2020-03-27 08:33:21 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-02-18 07:32:51 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kepubify";
|
2020-10-20 01:25:03 +02:00
|
|
|
version = "3.1.6";
|
2020-02-18 07:32:51 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-07-14 22:37:32 +02:00
|
|
|
owner = "pgaskin";
|
2020-02-18 07:32:51 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-20 01:25:03 +02:00
|
|
|
sha256 = "129izxgvhcybipfgcwzzwsir9zhi7axxadnw822zy5rk2ky4zjpk";
|
2020-02-18 07:32:51 +01:00
|
|
|
};
|
|
|
|
|
2020-10-20 01:25:03 +02:00
|
|
|
vendorSha256 = "0vwzm1c4kada7mqdkr444gj8c2vkvz7av9wkpgdpjrq0v2h0hpcc";
|
2020-02-18 07:32:51 +01:00
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2020-04-01 04:45:45 +02:00
|
|
|
excludedPackages = [ "kobotest" ];
|
2020-02-18 07:32:51 +01:00
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2020-02-18 07:32:51 +01:00
|
|
|
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
|
|
|
}
|