1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/tools/misc/kepubify/default.nix

30 lines
697 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "kepubify";
version = "4.0.1";
src = fetchFromGitHub {
2020-07-14 21:37:32 +01:00
owner = "pgaskin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ZQY5U9uMCwsMl3Ds3bscPYmTt8JdWehOoowb+AmJSbQ=";
};
vendorSha256 = "sha256-DcE2MCbH5FIU1UoIF8OF17TfsWS5eQhHnWDEAxy8X6c=";
# remove when built with >= go 1.17
2021-08-05 22:52:33 +01:00
tags = [ "zip117" ];
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
}