Files
nixpkgs/pkgs/by-name/ze/zeal/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

64 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
extra-cmake-modules,
pkg-config,
httplib,
libarchive,
libXdmcp,
libpthreadstubs,
xcbutilkeysyms,
qt6,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "zeal";
version = "0.7.2";
src = fetchFromGitHub {
owner = "zealdocs";
repo = "zeal";
rev = "v${finalAttrs.version}";
hash = "sha256-9tlo7+namWNWrWVQNqaOvtK4NQIdb0p8qvFrrbUamOo=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
qt6.wrapQtAppsHook
];
buildInputs = [
httplib
libXdmcp
libarchive
libpthreadstubs
qt6.qtbase
qt6.qtimageformats
qt6.qtwebengine
xcbutilkeysyms
];
cmakeFlags = [
(lib.cmakeBool "ZEAL_RELEASE_BUILD" true)
];
meta = {
description = "Simple offline API documentation browser";
longDescription = ''
Zeal is a simple offline API documentation browser inspired by Dash (macOS
app), available for Linux and Windows.
'';
homepage = "https://zealdocs.org/";
changelog = "https://github.com/zealdocs/zeal/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
peterhoeg
];
mainProgram = "zeal";
inherit (qt6.qtbase.meta) platforms;
};
})