about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libzmf/default.nix
blob: 1413da4a18dbad7d01e73f5ddda4cfdb494e4b7b (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
26
27
{stdenv, fetchurl, boost, icu, libpng, librevenge, zlib, doxygen, pkgconfig, cppunit}:

stdenv.mkDerivation rec {
  name = "${pname}-${version}";
  pname = "libzmf";
  version = "0.0.2";

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

  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.unix;
    homepage = https://wiki.documentfoundation.org/DLP/Libraries/libzmf;
    downloadPage = "http://dev-www.libreoffice.org/src/libzmf/";
    updateWalker = true;
  };
}