2017-04-13 23:11:10 +01:00
|
|
|
{ stdenv, lib, cmake, xorg, plasma-framework, fetchFromGitHub, kdeWrapper }:
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2017-04-13 23:11:10 +01:00
|
|
|
let version = "0.6.0";
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2017-04-13 23:11:10 +01:00
|
|
|
unwrapped = stdenv.mkDerivation {
|
|
|
|
name = "latte-dock-${version}";
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2017-04-13 23:11:10 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psifidotos";
|
|
|
|
repo = "Latte-Dock";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1967hx4lavy96vvik8d5m2c6ycd2mlf9cmhrv40zr0784ni0ikyv";
|
|
|
|
};
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2017-04-13 23:11:10 +01:00
|
|
|
buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp ];
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2017-04-13 23:11:10 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2017-04-13 23:11:10 +01: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 20:58:48 +01:00
|
|
|
}
|