nixpkgs/pkgs/tools/misc/kepubify/default.nix
Jörg Thalheim 066db11215
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504, reversing
changes made to afd997aab6.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00

26 lines
660 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "kepubify";
version = "3.1.0";
src = fetchFromGitHub {
owner = "geek1011";
repo = pname;
rev = "v${version}";
sha256 = "17zhfq1nfdas4k5yzyr82zs3r3mm4n8f907ih1ckx081hy4g7a2p";
};
modSha256 = "18q9ywsjc2v1bsmw7307dpd4v5m7v80hbhijkfrkcyqzj34jrq43";
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
subPackages = [ "." "covergen" "seriesmeta" ];
meta = with lib; {
description = "EPUB to KEPUB converter";
homepage = "https://pgaskin.net/kepubify";
license = licenses.mit;
maintainers = with maintainers; [ zowoq ];
};
}