mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
37 lines
950 B
Nix
37 lines
950 B
Nix
{ stdenv, fetchFromGitHub, qtbase, qtsvg, qtx11extras, makeQtWrapper, muparser, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "albert-${version}";
|
|
version = "0.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "albertlauncher";
|
|
repo = "albert";
|
|
rev = "v${version}";
|
|
sha256 = "1r8m0b6lqljy314ilpi58sdpqyb9rr502nzx3pgmx2g2xz4izsfj";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake makeQtWrapper ];
|
|
|
|
buildInputs = [ qtbase qtsvg qtx11extras muparser ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
postPatch = ''
|
|
sed -i "/QStringList dirs = {/a \"$out/lib\"," \
|
|
src/lib/albert/src/pluginsystem/extensionmanager.cpp
|
|
'';
|
|
|
|
fixupPhase = ''
|
|
wrapQtProgram $out/bin/albert
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://albertlauncher.github.io/;
|
|
description = "Desktop agnostic launcher";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ericsagnes ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|