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 {
|
2012-02-10 19:33:14 +01:00
|
|
|
name = "ebook-tools-0.2.1";
|
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";
|
2010-10-12 09:49:13 +02:00
|
|
|
sha256 = "0wgwdsd3jwwfg36jyr5j0wayqjli3ia80lxzk10byd4cmkywnhy2";
|
2010-08-16 14:40:03 +02:00
|
|
|
};
|
|
|
|
|
2012-02-10 19:33:14 +01:00
|
|
|
buildInputs = [ cmake pkgconfig libxml2 libzip ];
|
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libzip)"
|
|
|
|
'';
|
2010-08-16 14:40:03 +02:00
|
|
|
|
|
|
|
meta = {
|
2012-02-10 19:33:14 +01:00
|
|
|
homepage = "http://ebook-tools.sourceforge.net";
|
|
|
|
description = "Tools and library for dealing with various ebook file formats";
|
2010-08-16 14:40:03 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|