7d1a4f9e3f
Since 287ec76
, zlib is no longer propagated by libxml, so we need to add
it as a direct dependency.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
33 lines
917 B
Nix
33 lines
917 B
Nix
{ stdenv, fetchurl, gperf, pkgconfig, librevenge, libxml2, boost, icu
|
|
, cppunit, zlib
|
|
}:
|
|
|
|
let
|
|
s = # Generated upstream information
|
|
rec {
|
|
baseName="libe-book";
|
|
version="0.1.2";
|
|
name="${baseName}-${version}";
|
|
hash="1v48pd32r2pfysr3a3igc4ivcf6vvb26jq4pdkcnq75p70alp2bz";
|
|
url="mirror://sourceforge/project/libebook/libe-book-0.1.2/libe-book-0.1.2.tar.xz";
|
|
sha256="1v48pd32r2pfysr3a3igc4ivcf6vvb26jq4pdkcnq75p70alp2bz";
|
|
};
|
|
buildInputs = [
|
|
gperf pkgconfig librevenge libxml2 boost icu cppunit zlib
|
|
];
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit (s) name version;
|
|
inherit buildInputs;
|
|
src = fetchurl {
|
|
inherit (s) url sha256;
|
|
};
|
|
meta = {
|
|
inherit (s) version;
|
|
description = ''Library for import of reflowable e-book formats'';
|
|
license = stdenv.lib.licenses.lgpl21Plus ;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|