2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, boost, icu, libpng, librevenge, zlib, doxygen, pkg-config, cppunit}:
|
2017-02-03 12:13:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libzmf";
|
2018-02-27 05:40:10 +00:00
|
|
|
version = "0.0.2";
|
2018-11-15 21:49:08 +00:00
|
|
|
|
2017-02-03 12:13:52 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://dev-www.libreoffice.org/src/libzmf/${pname}-${version}.tar.xz";
|
2018-02-27 05:40:10 +00:00
|
|
|
sha256 = "08mg5kmkjrmqrd8j5rkzw9vdqlvibhb1ynp6bmfxnzq5rcq1l197";
|
2017-02-03 12:13:52 +00:00
|
|
|
};
|
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
buildInputs = [ boost icu libpng librevenge zlib cppunit ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ doxygen pkg-config ];
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--disable-werror" ];
|
2017-02-03 12:13:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-01-24 09:19:10 +00:00
|
|
|
description = "A library that parses the file format of Zoner Callisto/Draw documents";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.mpl20;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libzmf";
|
2017-02-03 12:13:52 +00:00
|
|
|
downloadPage = "http://dev-www.libreoffice.org/src/libzmf/";
|
|
|
|
};
|
|
|
|
}
|