mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
34 lines
908 B
Nix
34 lines
908 B
Nix
{ stdenv, lib, cmake, xorg, plasma-framework, fetchFromGitHub, kdeWrapper }:
|
|
|
|
let version = "0.6.0";
|
|
|
|
unwrapped = stdenv.mkDerivation {
|
|
name = "latte-dock-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "psifidotos";
|
|
repo = "Latte-Dock";
|
|
rev = "v${version}";
|
|
sha256 = "1967hx4lavy96vvik8d5m2c6ycd2mlf9cmhrv40zr0784ni0ikyv";
|
|
};
|
|
|
|
buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
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" ];
|
|
}
|