From 9f38c9a67557f23c38ee0098c3235c250a6b551c Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Tue, 19 Jan 2016 09:41:21 +0900 Subject: [PATCH] albert: init at 0.8.0 --- pkgs/applications/misc/albert/default.nix | 26 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/misc/albert/default.nix diff --git a/pkgs/applications/misc/albert/default.nix b/pkgs/applications/misc/albert/default.nix new file mode 100644 index 000000000000..b6c0feede6cd --- /dev/null +++ b/pkgs/applications/misc/albert/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, qtbase, qtx11extras, makeQtWrapper, muparser, cmake }: + +stdenv.mkDerivation rec { + name = "albert-${version}"; + version = "0.8.0"; + + src = fetchFromGitHub { + owner = "manuelschneid3r"; + repo = "albert"; + rev = "v${version}"; + sha256 = "0lzj1gbcc5sp2x1c0d3s21y55kcnnn4dmy8d205mrgnyavjrak7n"; + }; + + buildInputs = [ cmake qtbase qtx11extras muparser makeQtWrapper ]; + + fixupPhase = '' + wrapQtProgram $out/bin/albert + ''; + + meta = { + homepage = https://github.com/manuelSchneid3r/albert; + description = "Desktop agnostic launcher"; + license = stdenv.lib.licenses.gpl3Plus; + maintainers = [ stdenv.lib.maintainers.ericsagnes ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a14986b6b311..0024b915acac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -525,6 +525,8 @@ let aj-snapshot = callPackage ../applications/audio/aj-snapshot { }; + albert = qt5.callPackage ../applications/misc/albert {}; + analog = callPackage ../tools/admin/analog {}; apktool = callPackage ../development/tools/apktool {