2016-04-02 06:29:33 +02:00
|
|
|
{ stdenv, fetchFromGitHub, qtbase, qtsvg, qtx11extras, makeQtWrapper, muparser, cmake }:
|
2016-01-19 01:41:21 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "albert-${version}";
|
2016-09-30 01:49:39 +02:00
|
|
|
version = "0.8.11";
|
2016-01-19 01:41:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "manuelschneid3r";
|
|
|
|
repo = "albert";
|
|
|
|
rev = "v${version}";
|
2016-09-30 01:49:39 +02:00
|
|
|
sha256 = "12ag30l3dd05hg0d08ax4c8dvp24lgd677szkq445xzvvhggxr37";
|
2016-01-19 01:41:21 +01:00
|
|
|
};
|
|
|
|
|
2016-04-28 16:59:21 +02:00
|
|
|
nativeBuildInputs = [ cmake makeQtWrapper ];
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtsvg qtx11extras muparser ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2016-01-19 01:41:21 +01:00
|
|
|
|
|
|
|
fixupPhase = ''
|
|
|
|
wrapQtProgram $out/bin/albert
|
|
|
|
'';
|
|
|
|
|
2016-09-30 01:49:39 +02:00
|
|
|
meta = with stdenv.lib; {
|
2016-01-19 01:41:21 +01:00
|
|
|
homepage = https://github.com/manuelSchneid3r/albert;
|
|
|
|
description = "Desktop agnostic launcher";
|
2016-09-30 01:49:39 +02:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ ericsagnes ];
|
|
|
|
platforms = platforms.linux;
|
2016-01-19 01:41:21 +01:00
|
|
|
};
|
|
|
|
}
|