summary refs log tree commit diff
path: root/pkgs/development/libraries/libzmf/default.nix
blob: 7965c934df3e999ad28ddda3bc2f68155dd3787d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{lib, stdenv, fetchurl, boost, icu, libpng, librevenge, zlib, doxygen, pkg-config, cppunit}:

stdenv.mkDerivation rec {
  pname = "libzmf";
  version = "0.0.2";

  src = fetchurl {
    url = "http://dev-www.libreoffice.org/src/libzmf/${pname}-${version}.tar.xz";
    sha256 = "08mg5kmkjrmqrd8j5rkzw9vdqlvibhb1ynp6bmfxnzq5rcq1l197";
  };

  buildInputs = [ boost icu libpng librevenge zlib cppunit ];
  nativeBuildInputs = [ doxygen pkg-config ];
  configureFlags = [ "--disable-werror" ];

  meta = {
    description = "A library that parses the file format of Zoner Callisto/Draw documents";
    license = lib.licenses.mpl20;
    maintainers = [lib.maintainers.raskin];
    platforms = lib.platforms.unix;
    homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libzmf";
    downloadPage = "http://dev-www.libreoffice.org/src/libzmf/";
    updateWalker = true;
  };
}