libpagemaker: init at 0.0.4

arthsmn 854270d4 201e8fa4

+42
+42
pkgs/by-name/li/libpagemaker/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchzip, 5 + fetchpatch, 6 + pkg-config, 7 + boost, 8 + doxygen, 9 + librevenge, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libpagemaker"; 13 + version = "0.0.4"; 14 + 15 + src = fetchzip { 16 + url = "https://dev-www.libreoffice.org/src/libpagemaker/libpagemaker-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-fAtCNbP0fI2LxTOPPh5zbdF50wWhsrfSoNFPVU9tBas="; 18 + }; 19 + 20 + nativeBuildInputs = [ pkg-config ]; 21 + 22 + buildInputs = [ 23 + boost 24 + doxygen 25 + librevenge 26 + ]; 27 + 28 + patches = [ 29 + (fetchpatch { 30 + url = "https://gitlab.archlinux.org/archlinux/packaging/packages/libpagemaker/-/raw/main/libpagemaker-0.0.4-const-ref-exception.patch?ref_type=heads"; 31 + hash = "sha256-yZbiLAZHgzygGetiuoKiQS010pRfZTi2CbAAxQdCZbs="; 32 + }) 33 + ]; 34 + 35 + meta = { 36 + description = "Adobe PageMaker import library"; 37 + homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"; 38 + license = lib.licenses.mpl20; 39 + maintainers = with lib.maintainers; [ arthsmn ]; 40 + platforms = lib.platforms.all; 41 + }; 42 + })