2016-04-02 04:29:33 +00:00
|
|
|
{ stdenv, fetchFromGitHub, qtbase, qtsvg, qtx11extras, makeQtWrapper, muparser, cmake }:
|
2016-01-19 00:41:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "albert-${version}";
|
2017-03-20 12:48:38 +00:00
|
|
|
version = "0.10.0";
|
2016-01-19 00:41:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-03-20 12:48:38 +00:00
|
|
|
owner = "albertlauncher";
|
2016-01-19 00:41:21 +00:00
|
|
|
repo = "albert";
|
|
|
|
rev = "v${version}";
|
2017-03-20 12:48:38 +00:00
|
|
|
sha256 = "1r8m0b6lqljy314ilpi58sdpqyb9rr502nzx3pgmx2g2xz4izsfj";
|
2016-01-19 00:41:21 +00:00
|
|
|
};
|
|
|
|
|
2016-04-28 14:59:21 +00:00
|
|
|
nativeBuildInputs = [ cmake makeQtWrapper ];
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtsvg qtx11extras muparser ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2016-01-19 00:41:21 +00:00
|
|
|
|
2017-03-11 11:19:04 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i "/QStringList dirs = {/a \"$out/lib\"," \
|
|
|
|
src/lib/albert/src/pluginsystem/extensionmanager.cpp
|
|
|
|
'';
|
|
|
|
|
2016-01-19 00:41:21 +00:00
|
|
|
fixupPhase = ''
|
|
|
|
wrapQtProgram $out/bin/albert
|
|
|
|
'';
|
|
|
|
|
2016-09-29 23:49:39 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-03-20 12:48:38 +00:00
|
|
|
homepage = https://albertlauncher.github.io/;
|
2016-01-19 00:41:21 +00:00
|
|
|
description = "Desktop agnostic launcher";
|
2016-09-29 23:49:39 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ ericsagnes ];
|
|
|
|
platforms = platforms.linux;
|
2016-01-19 00:41:21 +00:00
|
|
|
};
|
|
|
|
}
|