diff options
Diffstat (limited to 'pkgs/development/libraries/libzmf/default.nix')
-rw-r--r-- | pkgs/development/libraries/libzmf/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libzmf/default.nix b/pkgs/development/libraries/libzmf/default.nix new file mode 100644 index 000000000000..f4b7aaf3fe23 --- /dev/null +++ b/pkgs/development/libraries/libzmf/default.nix @@ -0,0 +1,27 @@ +{stdenv, fetchurl, boost, icu, libpng, librevenge, zlib, doxygen, pkgconfig, cppunit}: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "libzmf"; + version = "0.0.1"; + + src = fetchurl { + url = "http://dev-www.libreoffice.org/src/libzmf/${name}.tar.xz"; + sha256 = "0yp5l1b90xim506zmr3ljkn3qkvbc7qk3dnwq1snxdpr57m37xga"; + }; + + buildInputs = [boost icu libpng librevenge zlib cppunit]; + nativeBuildInputs = [doxygen pkgconfig]; + configureFlags = " --disable-werror "; + + 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; + homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libzmf"; + downloadPage = "http://dev-www.libreoffice.org/src/libzmf/"; + updateWalker = true; + }; +} |