nixpkgs/pkgs/development/libraries/libzmf/default.nix

27 lines
918 B
Nix
Raw Normal View History

{stdenv, fetchurl, boost, icu, libpng, librevenge, zlib, doxygen, pkg-config, cppunit}:
2017-02-03 12:13:52 +00:00
stdenv.mkDerivation rec {
pname = "libzmf";
version = "0.0.2";
2017-02-03 12:13:52 +00:00
src = fetchurl {
url = "http://dev-www.libreoffice.org/src/libzmf/${pname}-${version}.tar.xz";
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 ];
nativeBuildInputs = [ doxygen pkg-config ];
2018-07-25 22:44:21 +01:00
configureFlags = [ "--disable-werror" ];
2017-02-03 12:13:52 +00: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.unix;
homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libzmf";
2017-02-03 12:13:52 +00:00
downloadPage = "http://dev-www.libreoffice.org/src/libzmf/";
updateWalker = true;
};
}