2020-06-18 07:06:33 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kactivities
|
|
|
|
, qtbase
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "KSmoothDock";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "6.3";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dangvd";
|
|
|
|
repo = "ksmoothdock";
|
|
|
|
rev = "v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-hO7xgjFMFrEhQs3oc2peFTjSVEDsl7Ma/TeVybEZMEk=";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
# Upstream seems dead and there are new deprecation warnings in KF5.100
|
|
|
|
# Remember, kids: friends don't let friends build with -Werror
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/CMakeLists.txt --replace "-Werror" ""
|
|
|
|
'';
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
|
|
|
|
buildInputs = [ kactivities qtbase ];
|
|
|
|
|
|
|
|
cmakeDir = "../src";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A cool desktop panel for KDE Plasma 5";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ksmoothdock";
|
2020-06-18 07:06:33 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://dangvd.github.io/ksmoothdock/";
|
|
|
|
maintainers = with maintainers; [ shamilton ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|