depot/third_party/nixpkgs/pkgs/applications/misc/ksmoothdock/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

41 lines
965 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, extra-cmake-modules
, kactivities
, qtbase
}:
mkDerivation rec {
pname = "KSmoothDock";
version = "6.3";
src = fetchFromGitHub {
owner = "dangvd";
repo = "ksmoothdock";
rev = "v${version}";
sha256 = "sha256-hO7xgjFMFrEhQs3oc2peFTjSVEDsl7Ma/TeVybEZMEk=";
};
# 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" ""
'';
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ kactivities qtbase ];
cmakeDir = "../src";
meta = with lib; {
description = "Cool desktop panel for KDE Plasma 5";
mainProgram = "ksmoothdock";
license = licenses.mit;
homepage = "https://dangvd.github.io/ksmoothdock/";
maintainers = with maintainers; [ shamilton ];
platforms = platforms.linux;
};
}