Files
nixpkgs/pkgs/by-name/li/libzmf/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

52 lines
1.0 KiB
Nix

{
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";
};
patches = [
# https://git.libreoffice.org/libzmf/+/48f94abff2fcc4943626a62c6180c60862288b08%5E%21
./doxygen.patch
];
buildInputs = [
boost
icu
libpng
librevenge
zlib
cppunit
];
nativeBuildInputs = [
doxygen
pkg-config
];
configureFlags = [ "--disable-werror" ];
meta = {
description = "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/";
};
}