latte-dock: 0.5.98 -> 0.6.0

This commit is contained in:
Benjamin Staffin 2017-04-13 18:11:10 -04:00
parent 034ea00b98
commit 77c8470e0a
No known key found for this signature in database
GPG Key ID: A490C0134E09AF4A
1 changed files with 26 additions and 19 deletions

View File

@ -1,21 +1,23 @@
{ stdenv, lib, cmake, plasma-framework, fetchFromGitHub }: { stdenv, lib, cmake, xorg, plasma-framework, fetchFromGitHub, kdeWrapper }:
let version = "0.5.98"; in let version = "0.6.0";
stdenv.mkDerivation { unwrapped = stdenv.mkDerivation {
name = "latte-dock-${version}"; name = "latte-dock-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "psifidotos"; owner = "psifidotos";
repo = "Latte-Dock"; repo = "Latte-Dock";
rev = version; rev = "v${version}";
sha256 = "0z02ipbbv0dmcxs2g3dq5h62klhijni1i4ikq903hjg0j2cqg5xh"; sha256 = "1967hx4lavy96vvik8d5m2c6ycd2mlf9cmhrv40zr0784ni0ikyv";
}; };
buildInputs = [ plasma-framework ]; buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp ];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Dock-style app launcher based on Plasma frameworks"; description = "Dock-style app launcher based on Plasma frameworks";
homepage = https://github.com/psifidotos/Latte-Dock; homepage = https://github.com/psifidotos/Latte-Dock;
@ -23,4 +25,9 @@ stdenv.mkDerivation {
platforms = platforms.unix; platforms = platforms.unix;
maintainers = [ maintainers.benley ]; maintainers = [ maintainers.benley ];
}; };
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/latte-dock" ];
} }