2014-06-27 13:09:13 +01:00
|
|
|
{stdenv, fetchurl, boost, pkgconfig, cppunit, zlib, libwpg, libwpd, librevenge}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="libodfgen";
|
2018-07-06 19:19:42 +01:00
|
|
|
version="0.1.7";
|
2014-06-27 13:09:13 +01:00
|
|
|
name="${baseName}-${version}";
|
2018-07-06 19:19:42 +01:00
|
|
|
hash="0cdq48wlpp8m0qmndybv64r0m4vh0qsqx69cn6ms533cjlgljgij";
|
|
|
|
url="mirror://sourceforge/project/libwpd/libodfgen/libodfgen-0.1.7/libodfgen-0.1.7.tar.xz";
|
|
|
|
sha256="0cdq48wlpp8m0qmndybv64r0m4vh0qsqx69cn6ms533cjlgljgij";
|
2014-06-27 13:09:13 +01:00
|
|
|
};
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-06-27 13:09:13 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
boost cppunit zlib libwpg libwpd librevenge
|
2014-06-27 13:09:13 +01:00
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
2017-09-14 20:24:37 +01:00
|
|
|
inherit nativeBuildInputs buildInputs;
|
2014-06-27 13:09:13 +01:00
|
|
|
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];
|
2018-11-15 21:51:17 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-06-27 13:09:13 +01:00
|
|
|
};
|
|
|
|
}
|