2014-06-27 12:09:13 +00:00
|
|
|
{stdenv, fetchurl, boost, pkgconfig, cppunit, zlib, libwpg, libwpd, librevenge}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="libodfgen";
|
2015-02-01 14:55:21 +00:00
|
|
|
version="0.1.3";
|
2014-06-27 12:09:13 +00:00
|
|
|
name="${baseName}-${version}";
|
2015-02-01 14:55:21 +00:00
|
|
|
hash="1flfh1i4r116aqdlqpgpmyzpcylwba48l7mddj25a2cwgsc9v86k";
|
|
|
|
url="mirror://sourceforge/project/libwpd/libodfgen/libodfgen-0.1.3/libodfgen-0.1.3.tar.xz";
|
|
|
|
sha256="1flfh1i4r116aqdlqpgpmyzpcylwba48l7mddj25a2cwgsc9v86k";
|
2014-06-27 12:09:13 +00:00
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
boost pkgconfig cppunit zlib libwpg libwpd librevenge
|
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
|
|
|
meta = {
|
|
|
|
inherit (s) version;
|
|
|
|
description = ''A base library for generating ODF documents'';
|
|
|
|
license = stdenv.lib.licenses.mpl20 ;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|