nixpkgs/pkgs/tools/text/epub2txt2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
658 B
Nix
Raw Permalink Normal View History

2023-05-22 22:30:35 -04:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "epub2txt2";
2024-06-25 07:38:27 -04:00
version = "2.08";
2023-05-22 22:30:35 -04:00
src = fetchFromGitHub {
owner = "kevinboone";
repo = pname;
rev = "refs/tags/v${version}";
2024-06-25 07:38:27 -04:00
sha256 = "sha256-YFaXkcIdat2cn1ITYFyG1hxbbepqcxvyJ6ZzDo4dVYI=";
2023-05-22 22:30:35 -04:00
};
makeFlags = [ "CC:=$(CC)" "PREFIX:=$(out)" ];
2023-05-22 22:34:16 -04:00
2023-05-22 22:30:35 -04:00
meta = {
description = "Simple command-line utility for Linux, for extracting text from EPUB documents";
2023-05-22 22:30:35 -04:00
homepage = "https://github.com/kevinboone/epub2txt2";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.leonid ];
mainProgram = "epub2txt";
2023-05-22 22:30:35 -04:00
};
}