blob: 8ccc01d57b5bc8e0892d6af985c689b6a79a9ebb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "epub2txt2";
version = "2.07";
src = fetchFromGitHub {
owner = "kevinboone";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-/P81ZXhB0wyRx2bb/CO7+kTTNspYKoGUpBGLb8Yfb5I=";
};
makeFlags = [ "CC:=$(CC)" "PREFIX:=$(out)" ];
meta = {
description = "Simple command-line utility for Linux, for extracting text from EPUB documents";
homepage = "https://github.com/kevinboone/epub2txt2";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.leonid ];
mainProgram = "epub2txt";
};
}
|