2017-04-14 00:11:10 +02:00
|
|
|
{ stdenv, lib, cmake, xorg, plasma-framework, fetchFromGitHub, kdeWrapper }:
|
2017-03-30 21:58:48 +02:00
|
|
|
|
2017-04-14 00:11:10 +02:00
|
|
|
let version = "0.6.0";
|
2017-03-30 21:58:48 +02:00
|
|
|
|
2017-04-14 00:11:10 +02:00
|
|
|
unwrapped = stdenv.mkDerivation {
|
|
|
|
name = "latte-dock-${version}";
|
2017-03-30 21:58:48 +02:00
|
|
|
|
2017-04-14 00:11:10 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psifidotos";
|
|
|
|
repo = "Latte-Dock";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1967hx4lavy96vvik8d5m2c6ycd2mlf9cmhrv40zr0784ni0ikyv";
|
|
|
|
};
|
2017-03-30 21:58:48 +02:00
|
|
|
|
2017-04-14 00:11:10 +02:00
|
|
|
buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp ];
|
2017-03-30 21:58:48 +02:00
|
|
|
|
2017-04-14 00:11:10 +02:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2017-03-30 21:58:48 +02:00
|
|
|
|
2017-04-14 00:11:10 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Dock-style app launcher based on Plasma frameworks";
|
|
|
|
homepage = https://github.com/psifidotos/Latte-Dock;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.benley ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
in kdeWrapper {
|
|
|
|
inherit unwrapped;
|
|
|
|
targets = [ "bin/latte-dock" ];
|
2017-03-30 21:58:48 +02:00
|
|
|
}
|