diff options
Diffstat (limited to 'pkgs/applications/misc/albert')
-rw-r--r-- | pkgs/applications/misc/albert/default.nix | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/pkgs/applications/misc/albert/default.nix b/pkgs/applications/misc/albert/default.nix deleted file mode 100644 index 0c4193aa2e5dd..0000000000000 --- a/pkgs/applications/misc/albert/default.nix +++ /dev/null @@ -1,96 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - cmake, - libqalculate, - muparser, - libarchive, - python3Packages, - qtbase, - qtscxml, - qtsvg, - qtdeclarative, - qtwayland, - qt5compat, - qttools, - wrapQtAppsHook, - nix-update-script, - pkg-config, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "albert"; - version = "0.24.2"; - - src = fetchFromGitHub { - owner = "albertlauncher"; - repo = "albert"; - rev = "v${finalAttrs.version}"; - sha256 = "sha256-Z88amcPb2jCJduRu8CGQ20y2o5cXmL4rpRL0hGCEYgM="; - fetchSubmodules = true; - }; - - nativeBuildInputs = [ - cmake - pkg-config - wrapQtAppsHook - ]; - - buildInputs = - [ - libqalculate - libarchive - muparser - qtbase - qtscxml - qtsvg - qtdeclarative - qtwayland - qt5compat - qttools - ] - ++ (with python3Packages; [ - python - pybind11 - ]); - - postPatch = '' - find -type f -name CMakeLists.txt -exec sed -i {} -e '/INSTALL_RPATH/d' \; - - # WARN: This is necessary for albert to detect the package libraries. - # Please check if the file below has changed upstream before updating. - sed -i src/app/qtpluginprovider.cpp \ - -e "/QStringList install_paths;/a install_paths << QFileInfo(\"$out/lib\").canonicalFilePath();" - ''; - - postFixup = '' - for i in $out/{bin/.albert-wrapped,lib/albert/plugins/*.so}; do - patchelf $i --add-rpath $out/lib/albert - done - ''; - - passthru = { - updateScript = nix-update-script { }; - }; - - meta = with lib; { - description = "Fast and flexible keyboard launcher"; - longDescription = '' - Albert is a desktop agnostic launcher. Its goals are usability and beauty, - performance and extensibility. It is written in C++ and based on the Qt - framework. - ''; - homepage = "https://albertlauncher.github.io"; - changelog = "https://github.com/albertlauncher/albert/blob/${finalAttrs.src.rev}/CHANGELOG.md"; - # See: https://github.com/NixOS/nixpkgs/issues/279226 - license = licenses.unfree; - maintainers = with maintainers; [ - ericsagnes - synthetica - eljamm - ]; - mainProgram = "albert"; - platforms = platforms.linux; - }; -}) |