forked from mirrors/nixpkgs
zeal: unstable-2021-12-25 → unstable-2022-10-02
This commit is contained in:
parent
4c5f7afb5f
commit
3be2a76832
2 changed files with 36 additions and 14 deletions
|
@ -1,16 +1,31 @@
|
||||||
{ lib, fetchFromGitHub, cmake, extra-cmake-modules, pkg-config
|
{ lib
|
||||||
, qtbase, qtimageformats, qtwebengine, qtx11extras, mkDerivation
|
, stdenv
|
||||||
, libarchive, libXdmcp, libpthreadstubs, xcbutilkeysyms }:
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, extra-cmake-modules
|
||||||
|
, pkg-config
|
||||||
|
, qtbase
|
||||||
|
, qtimageformats
|
||||||
|
, qtwebengine
|
||||||
|
, qtx11extras ? null # qt5 only
|
||||||
|
, libarchive
|
||||||
|
, libXdmcp
|
||||||
|
, libpthreadstubs
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, xcbutilkeysyms
|
||||||
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
let
|
||||||
|
isQt5 = lib.versions.major qtbase.version == "5";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
pname = "zeal";
|
pname = "zeal";
|
||||||
version = "0.6.999";
|
version = "0.6.20221022";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zealdocs";
|
owner = "zealdocs";
|
||||||
repo = "zeal";
|
repo = "zeal";
|
||||||
rev = "763edca12ccd6c67e51f10891d1ced8b2510904f";
|
rev = "7ea03e4bb9754020e902a2989f56f4bc42b85c82";
|
||||||
sha256 = "sha256-1/wQXkRWvpRia8UDvvvmzHinPG8q2Tz9Uoeegej9uC8=";
|
sha256 = "sha256-BozRLlws56i9P7Qtc5qPZWgJR5yhYqnLQsEdsymt5us=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# we only need this if we are using a version that hasn't been released. We
|
# we only need this if we are using a version that hasn't been released. We
|
||||||
|
@ -22,13 +37,18 @@ mkDerivation rec {
|
||||||
-e 's@^project.*@project(Zeal VERSION ${version})@'
|
-e 's@^project.*@project(Zeal VERSION ${version})@'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
|
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config wrapQtAppsHook ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
qtbase qtimageformats qtwebengine qtx11extras
|
[
|
||||||
libarchive
|
qtbase
|
||||||
libXdmcp libpthreadstubs xcbutilkeysyms
|
qtimageformats
|
||||||
];
|
qtwebengine
|
||||||
|
libarchive
|
||||||
|
libXdmcp
|
||||||
|
libpthreadstubs
|
||||||
|
xcbutilkeysyms
|
||||||
|
] ++ lib.optionals isQt5 [ qtx11extras ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A simple offline API documentation browser";
|
description = "A simple offline API documentation browser";
|
||||||
|
|
|
@ -27163,7 +27163,9 @@ with pkgs;
|
||||||
inherit (plasma5Packages) breeze-icons;
|
inherit (plasma5Packages) breeze-icons;
|
||||||
};
|
};
|
||||||
|
|
||||||
zeal = libsForQt5.callPackage ../data/documentation/zeal { };
|
zeal-qt5 = libsForQt5.callPackage ../data/documentation/zeal { };
|
||||||
|
zeal-qt6 = qt6Packages.callPackage ../data/documentation/zeal { };
|
||||||
|
zeal = zeal-qt5;
|
||||||
|
|
||||||
zilla-slab = callPackage ../data/fonts/zilla-slab { };
|
zilla-slab = callPackage ../data/fonts/zilla-slab { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue