depot/third_party/nixpkgs/pkgs/by-name/cr/crystal-dock/package.nix

42 lines
843 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
kdePackages,
qt6,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "crystal-dock";
version = "2.7";
src = fetchFromGitHub {
owner = "dangvd";
repo = "crystal-dock";
rev = "v${finalAttrs.version}";
hash = "sha256-VxdVB/DLVvmHGvZ2JI/mZCCWIdopYhObJuN4MKh+l4A=";
};
nativeBuildInputs = [
cmake
kdePackages.extra-cmake-modules
qt6.wrapQtAppsHook
];
buildInputs = [
kdePackages.layer-shell-qt
qt6.qtbase
qt6.qtwayland
];
cmakeDir = "../src";
meta = with lib; {
description = "Dock (desktop panel) for Linux desktop";
mainProgram = "crystal-dock";
license = licenses.gpl3Only;
homepage = "https://github.com/dangvd/crystal-dock";
maintainers = with maintainers; [ rafameou ];
platforms = platforms.linux;
};
})