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
43 lines
1018 B
Nix
43 lines
1018 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchzip,
|
|
fetchpatch,
|
|
pkg-config,
|
|
boost,
|
|
doxygen,
|
|
librevenge,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libpagemaker";
|
|
version = "0.0.4";
|
|
|
|
src = fetchzip {
|
|
url = "https://dev-www.libreoffice.org/src/libpagemaker/libpagemaker-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-fAtCNbP0fI2LxTOPPh5zbdF50wWhsrfSoNFPVU9tBas=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
boost
|
|
doxygen
|
|
librevenge
|
|
];
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/libpagemaker/-/raw/main/libpagemaker-0.0.4-const-ref-exception.patch?ref_type=heads";
|
|
hash = "sha256-yZbiLAZHgzygGetiuoKiQS010pRfZTi2CbAAxQdCZbs=";
|
|
})
|
|
];
|
|
|
|
meta = {
|
|
description = "Adobe PageMaker import library";
|
|
homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ arthsmn ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|