zeal: 0.6.1.20230320 -> 0.6.1.20230907

- Remove null defaults
- Use rec-less, overlay-style overridable recursive attributes (in effect since
https://github.com/NixOS/nixpkgs/pull/119942);
- Reorder lists
- Add myself to maintainers

authored by Anderson Torres and committed by Peter Hoeg 5a31db94 ac1367d4

+26 -18
+23 -17
pkgs/data/documentation/zeal/default.nix
··· 7 7 , qtbase 8 8 , qtimageformats 9 9 , qtwebengine 10 - , qtx11extras ? null # qt5 only 10 + , qtx11extras 11 11 , libarchive 12 12 , libXdmcp 13 13 , libpthreadstubs ··· 17 17 18 18 let 19 19 isQt5 = lib.versions.major qtbase.version == "5"; 20 - 21 20 in 22 - stdenv.mkDerivation rec { 21 + stdenv.mkDerivation (finalAttrs: { 23 22 pname = "zeal"; 24 - version = "0.6.1.20230320"; 23 + version = "0.6.1.20230907"; # unstable-date format not suitable for cmake 25 24 26 25 src = fetchFromGitHub { 27 26 owner = "zealdocs"; 28 27 repo = "zeal"; 29 - rev = "a617ae5e06b95cec99bae058650e55b98613916d"; 30 - hash = "sha256-WL2uqA0sZ5Q3lZIA9vkLVyfec/jBkfGcWb6XQ7AuM94="; 28 + rev = "20249153077964d01c7c36b9f4042a40e8c8fbf1"; 29 + hash = "sha256-AyfpMq0R0ummTGvyUHOh/XBUeVfkFwo1VyyLSGoTN8w="; 31 30 }; 32 31 33 32 # we only need this if we are using a version that hasn't been released. We ··· 36 35 # line. 37 36 postPatch = '' 38 37 sed -i CMakeLists.txt \ 39 - -e 's@^project.*@project(Zeal VERSION ${version})@' 38 + -e 's@^project.*@project(Zeal VERSION ${finalAttrs.version})@' 40 39 '' + lib.optionalString (!isQt5) '' 41 40 substituteInPlace src/app/CMakeLists.txt \ 42 41 --replace "COMPONENTS Widgets" "COMPONENTS Widgets QmlIntegration" 43 42 ''; 44 43 45 - nativeBuildInputs = [ cmake extra-cmake-modules pkg-config wrapQtAppsHook ]; 44 + nativeBuildInputs = [ 45 + cmake 46 + extra-cmake-modules 47 + pkg-config 48 + wrapQtAppsHook 49 + ]; 46 50 47 51 buildInputs = [ 52 + libXdmcp 53 + libarchive 54 + libpthreadstubs 48 55 qtbase 49 56 qtimageformats 50 57 qtwebengine 51 - libarchive 52 - libXdmcp 53 - libpthreadstubs 54 58 xcbutilkeysyms 55 - ] ++ lib.optionals isQt5 [ qtx11extras ]; 59 + ] 60 + ++ lib.optionals isQt5 [ qtx11extras ]; 56 61 57 - meta = with lib; { 62 + meta = { 58 63 description = "A simple offline API documentation browser"; 59 64 longDescription = '' 60 65 Zeal is a simple offline API documentation browser inspired by Dash (macOS 61 66 app), available for Linux and Windows. 62 67 ''; 63 68 homepage = "https://zealdocs.org/"; 64 - license = licenses.gpl3; 65 - maintainers = with maintainers; [ skeidel peterhoeg ]; 66 - platforms = platforms.linux; 69 + changelog = "https://github.com/zealdocs/zeal/releases"; 70 + license = lib.licenses.gpl3Plus; 71 + maintainers = with lib.maintainers; [ skeidel peterhoeg AndersonTorres ]; 72 + inherit (qtbase.meta) platforms; 67 73 }; 68 - } 74 + })
+3 -1
pkgs/top-level/all-packages.nix
··· 30409 30409 }; 30410 30410 30411 30411 zeal-qt5 = libsForQt5.callPackage ../data/documentation/zeal { }; 30412 - zeal-qt6 = qt6Packages.callPackage ../data/documentation/zeal { }; 30413 30412 zeal = zeal-qt5; 30413 + zeal-qt6 = qt6Packages.callPackage ../data/documentation/zeal { 30414 + qtx11extras = null; # Because it does not exist in qt6 30415 + }; 30414 30416 30415 30417 zilla-slab = callPackage ../data/fonts/zilla-slab { }; 30416 30418