albert: 0.17.6 -> 0.20.13

As added to the release notes, the biggest changes are in [0.18.0](https://github.com/albertlauncher/albert/blob/v0.18.0/CHANGELOG.md).
The config and plugin format changed and they updated to QT 6.

I tested it locally on sway.

Diff: https://github.com/albertlauncher/albert/compare/v0.17.6...v0.20.13

Changelog: https://github.com/albertlauncher/albert/blob/v0.20.13/CHANGELOG.md
This commit is contained in:
Flakebi 2023-04-15 12:57:19 +02:00
parent 85b081528b
commit 01e1c5bd40
No known key found for this signature in database
GPG key ID: 38E7ED984D7DCD02
3 changed files with 12 additions and 15 deletions

View file

@ -172,6 +172,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- `fail2ban` has been updated to 1.0.2, which has a few breaking changes compared to 0.11.2 ([changelog for 1.0.1](https://github.com/fail2ban/fail2ban/blob/1.0.1/ChangeLog), [changelog for 1.0.2](https://github.com/fail2ban/fail2ban/blob/1.0.2/ChangeLog)) - `fail2ban` has been updated to 1.0.2, which has a few breaking changes compared to 0.11.2 ([changelog for 1.0.1](https://github.com/fail2ban/fail2ban/blob/1.0.1/ChangeLog), [changelog for 1.0.2](https://github.com/fail2ban/fail2ban/blob/1.0.2/ChangeLog))
- `albert` has been updated from 0.17.6 to 0.20.13, and 0.18.0 changed the config format and many plugins ([changelog for 0.18.0](https://github.com/albertlauncher/albert/blob/v0.18.0/CHANGELOG.md))
- Calling `makeSetupHook` without passing a `name` argument is deprecated. - Calling `makeSetupHook` without passing a `name` argument is deprecated.
- `lib.systems.examples.ghcjs` and consequently `pkgsCross.ghcjs` now use the target triplet `javascript-unknown-ghcjs` instead of `js-unknown-ghcjs`. This has been done to match an [upstream decision](https://gitlab.haskell.org/ghc/ghc/-/commit/6636b670233522f01d002c9b97827d00289dbf5c) to follow Cabal's platform naming more closely. Nixpkgs will also reject `js` as an architecture name. - `lib.systems.examples.ghcjs` and consequently `pkgsCross.ghcjs` now use the target triplet `javascript-unknown-ghcjs` instead of `js-unknown-ghcjs`. This has been done to match an [upstream decision](https://gitlab.haskell.org/ghc/ghc/-/commit/6636b670233522f01d002c9b97827d00289dbf5c) to follow Cabal's platform naming more closely. Nixpkgs will also reject `js` as an architecture name.

View file

@ -2,27 +2,25 @@
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, libqalculate
, muparser , muparser
, python3 , python3Packages
, qtbase , qtbase
, qtcharts , qtscxml
, qtdeclarative
, qtgraphicaleffects
, qtsvg , qtsvg
, qtx11extras
, wrapQtAppsHook , wrapQtAppsHook
, nix-update-script , nix-update-script
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "albert"; pname = "albert";
version = "0.17.6"; version = "0.20.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "albertlauncher"; owner = "albertlauncher";
repo = "albert"; repo = "albert";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-nbnywrsKvFG8AkayjnylOKSnn7rRWgNv5zE9DDeOmLw="; sha256 = "sha256-zG6XlFOzSpUSswG4kvKf2lgwUSZkzEVslgQBjzVTLYQ=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -32,20 +30,17 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
libqalculate
muparser muparser
python3
qtbase qtbase
qtcharts qtscxml
qtdeclarative
qtgraphicaleffects
qtsvg qtsvg
qtx11extras ] ++ (with python3Packages; [ python pybind11 ]);
];
postPatch = '' postPatch = ''
find -type f -name CMakeLists.txt -exec sed -i {} -e '/INSTALL_RPATH/d' \; find -type f -name CMakeLists.txt -exec sed -i {} -e '/INSTALL_RPATH/d' \;
sed -i src/app/main.cpp \ sed -i src/nativepluginprovider.cpp \
-e "/QStringList dirs = {/a QFileInfo(\"$out/lib\").canonicalFilePath()," -e "/QStringList dirs = {/a QFileInfo(\"$out/lib\").canonicalFilePath(),"
''; '';

View file

@ -1425,7 +1425,7 @@ with pkgs;
akku = callPackage ../tools/package-management/akku { }; akku = callPackage ../tools/package-management/akku { };
albert = libsForQt5.callPackage ../applications/misc/albert { }; albert = qt6Packages.callPackage ../applications/misc/albert { };
alice-tools = callPackage ../tools/games/alice-tools { alice-tools = callPackage ../tools/games/alice-tools {
withGUI = false; withGUI = false;