27 lines
650 B
Nix
27 lines
650 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kepubify";
|
|
version = "3.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pgaskin";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "129izxgvhcybipfgcwzzwsir9zhi7axxadnw822zy5rk2ky4zjpk";
|
|
};
|
|
|
|
vendorSha256 = "0vwzm1c4kada7mqdkr444gj8c2vkvz7av9wkpgdpjrq0v2h0hpcc";
|
|
|
|
buildFlagsArray = [ "-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 ];
|
|
};
|
|
}
|