Skip to content

Commit

Permalink
crystal-dock: init at 2.2 (#332121)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada authored Sep 2, 2024
2 parents b2a3ec3 + 613cb4e commit 7bb83ee
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/by-name/cr/crystal-dock/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
kdePackages,
qt6,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "crystal-dock";
version = "2.2";

src = fetchFromGitHub {
owner = "dangvd";
repo = "crystal-dock";
rev = "v${finalAttrs.version}";
hash = "sha256-c5Kae2cZ/DoJ972VT4kQWNUr2cF6Noy3nPIChWok/BA=";
};

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;
};
})

0 comments on commit 7bb83ee

Please sign in to comment.