Merge pull request #244046 from gaelreyrol/albert-update-0.21.1

albert: 0.20.14 -> 0.22.0

authored by

José Romildo Malaquias and committed by
GitHub
ce07be6d d2d14de3

+16 -8
+16 -8
pkgs/applications/misc/albert/default.nix
··· 4 4 , cmake 5 5 , libqalculate 6 6 , muparser 7 + , libarchive 7 8 , python3Packages 8 9 , qtbase 9 10 , qtscxml 10 11 , qtsvg 12 + , qtdeclarative 13 + , qt5compat 11 14 , wrapQtAppsHook 12 15 , nix-update-script 13 16 }: 14 17 15 - stdenv.mkDerivation rec { 18 + stdenv.mkDerivation (finalAttrs: { 16 19 pname = "albert"; 17 - version = "0.20.14"; 20 + version = "0.22.0"; 18 21 19 22 src = fetchFromGitHub { 20 23 owner = "albertlauncher"; 21 24 repo = "albert"; 22 - rev = "v${version}"; 23 - sha256 = "sha256-c1Bp7rIloXuWv/kUzWGJJ+bh9656vpuqADy77zYZjqk="; 25 + rev = "v${finalAttrs.version}"; 26 + sha256 = "sha256-x5H7z0rwunfMwtihXEerc47Sdkl6IvSHfavXzXMLse0="; 24 27 fetchSubmodules = true; 25 28 }; 26 29 ··· 31 34 32 35 buildInputs = [ 33 36 libqalculate 37 + libarchive 34 38 muparser 35 39 qtbase 36 40 qtscxml 37 41 qtsvg 42 + qtdeclarative 43 + qt5compat 38 44 ] ++ (with python3Packages; [ python pybind11 ]); 39 45 40 46 postPatch = '' 41 47 find -type f -name CMakeLists.txt -exec sed -i {} -e '/INSTALL_RPATH/d' \; 42 48 43 - sed -i src/nativepluginprovider.cpp \ 49 + sed -i src/qtpluginprovider.cpp \ 44 50 -e "/QStringList dirs = {/a QFileInfo(\"$out/lib\").canonicalFilePath()," 45 51 ''; 46 52 ··· 50 56 done 51 57 ''; 52 58 53 - passthru.updateScript = nix-update-script { }; 59 + passthru = { 60 + updateScript = nix-update-script { }; 61 + }; 54 62 55 63 meta = with lib; { 56 64 description = "A fast and flexible keyboard launcher"; ··· 60 68 framework. 61 69 ''; 62 70 homepage = "https://albertlauncher.github.io"; 63 - changelog = "https://github.com/albertlauncher/albert/blob/${src.rev}/CHANGELOG.md"; 71 + changelog = "https://github.com/albertlauncher/albert/blob/${finalAttrs.src.rev}/CHANGELOG.md"; 64 72 license = licenses.gpl3Plus; 65 73 maintainers = with maintainers; [ ericsagnes synthetica ]; 66 74 platforms = platforms.linux; 67 75 }; 68 - } 76 + })