nixpkgs/pkgs/applications/misc/albert/default.nix
2017-02-20 21:46:36 -05:00

32 lines
819 B
Nix

{ stdenv, fetchFromGitHub, qtbase, qtsvg, qtx11extras, makeQtWrapper, muparser, cmake }:
stdenv.mkDerivation rec {
name = "albert-${version}";
version = "0.9.3";
src = fetchFromGitHub {
owner = "manuelschneid3r";
repo = "albert";
rev = "v${version}";
sha256 = "026vcnx893wrggx0v07x66vc179mpil2p90lzb16n070qn3jb58n";
};
nativeBuildInputs = [ cmake makeQtWrapper ];
buildInputs = [ qtbase qtsvg qtx11extras muparser ];
enableParallelBuilding = true;
fixupPhase = ''
wrapQtProgram $out/bin/albert
'';
meta = with stdenv.lib; {
homepage = https://github.com/manuelSchneid3r/albert;
description = "Desktop agnostic launcher";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ericsagnes ];
platforms = platforms.linux;
};
}