mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
43 lines
843 B
Nix
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;
|
|
};
|
|
})
|