20 stdenv.mkDerivation (finalAttrs: {
24 src = fetchFromGitHub {
25 owner = "albertlauncher";
27 rev = "v${finalAttrs.version}";
28 sha256 = "sha256-cAxdCjaCqEkwjL+OXW7ONkS7OpKfey3bUYmGzJyV+g8=";
29 fetchSubmodules = true;
48 ] ++ (with python3Packages; [ python pybind11 ]);
51 find -type f -name CMakeLists.txt -exec sed -i {} -e '/INSTALL_RPATH/d' \;
53 sed -i src/qtpluginprovider.cpp \
54 -e "/QStringList dirs = {/a QFileInfo(\"$out/lib\").canonicalFilePath(),"
58 for i in $out/{bin/.albert-wrapped,lib/albert/plugins/*.so}; do
59 patchelf $i --add-rpath $out/lib/albert
64 updateScript = nix-update-script { };
68 description = "A fast and flexible keyboard launcher";
70 Albert is a desktop agnostic launcher. Its goals are usability and beauty,
71 performance and extensibility. It is written in C++ and based on the Qt
74 homepage = "https://albertlauncher.github.io";
75 changelog = "https://github.com/albertlauncher/albert/blob/${finalAttrs.src.rev}/CHANGELOG.md";
76 license = licenses.gpl3Plus;
77 maintainers = with maintainers; [ ericsagnes synthetica ];
78 mainProgram = "albert";
79 platforms = platforms.linux;