2017-02-03 13:13:52 +01:00
|
|
|
{stdenv, fetchurl, boost, icu, libpng, librevenge, zlib, doxygen, pkgconfig, cppunit}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "libzmf";
|
2018-02-27 06:40:10 +01:00
|
|
|
version = "0.0.2";
|
2017-02-03 13:13:52 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://dev-www.libreoffice.org/src/libzmf/${name}.tar.xz";
|
2018-02-27 06:40:10 +01:00
|
|
|
sha256 = "08mg5kmkjrmqrd8j5rkzw9vdqlvibhb1ynp6bmfxnzq5rcq1l197";
|
2017-02-03 13:13:52 +01:00
|
|
|
};
|
|
|
|
|
2018-07-25 23:44:21 +02:00
|
|
|
buildInputs = [ boost icu libpng librevenge zlib cppunit ];
|
|
|
|
nativeBuildInputs = [ doxygen pkgconfig ];
|
|
|
|
configureFlags = [ "--disable-werror" ];
|
2017-02-03 13:13:52 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''A library that parses the file format of Zoner Callisto/Draw documents'';
|
|
|
|
license = stdenv.lib.licenses.mpl20;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://wiki.documentfoundation.org/DLP/Libraries/libzmf;
|
2017-02-03 13:13:52 +01:00
|
|
|
downloadPage = "http://dev-www.libreoffice.org/src/libzmf/";
|
|
|
|
updateWalker = true;
|
|
|
|
};
|
|
|
|
}
|