2012-02-10 19:33:14 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, libxml2, libzip }:
|
2010-08-16 14:40:03 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-04 05:30:16 +01:00
|
|
|
name = "ebook-tools-0.2.2";
|
2010-08-16 14:40:03 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-10 19:33:14 +01:00
|
|
|
url = "mirror://sourceforge/ebook-tools/${name}.tar.gz";
|
2013-12-04 05:30:16 +01:00
|
|
|
sha256 = "1bi7wsz3p5slb43kj7lgb3r6lb91lvb6ldi556k4y50ix6b5khyb";
|
2010-08-16 14:40:03 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake libxml2 libzip ];
|
2012-02-10 19:33:14 +01:00
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libzip)"
|
|
|
|
'';
|
2010-08-16 14:40:03 +02:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://ebook-tools.sourceforge.net";
|
2012-02-10 19:33:14 +01:00
|
|
|
description = "Tools and library for dealing with various ebook file formats";
|
2017-03-27 19:11:17 +02:00
|
|
|
maintainers = [ ];
|
2010-08-16 14:40:03 +02:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|