nixpkgs/pkgs/by-name/cr/crystal-dock/package.nix
2024-10-02 04:01:26 +00:00

43 lines
843 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
kdePackages,
qt6,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "crystal-dock";
version = "2.5";
src = fetchFromGitHub {
owner = "dangvd";
repo = "crystal-dock";
rev = "v${finalAttrs.version}";
hash = "sha256-y7Wt0o57z8NaAcYoaigWtI7twx8UAUgSIEWz86LcNKM=";
};
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;
};
})