Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
83 lines
1.6 KiB
Nix
83 lines
1.6 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitea,
|
|
|
|
pkg-config,
|
|
cmake,
|
|
ninja,
|
|
spirv-tools,
|
|
qt6,
|
|
breakpad,
|
|
jemalloc,
|
|
cli11,
|
|
wayland,
|
|
wayland-protocols,
|
|
wayland-scanner,
|
|
xorg,
|
|
libdrm,
|
|
libgbm,
|
|
pipewire,
|
|
pam,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "quickshell";
|
|
version = "0.2.0";
|
|
|
|
# github mirror: https://github.com/quickshell-mirror/quickshell
|
|
src = fetchFromGitea {
|
|
domain = "git.outfoxxed.me";
|
|
owner = "quickshell";
|
|
repo = "quickshell";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-vqkSDvh7hWhPvNjMjEDV4KbSCv2jyl2Arh73ZXe274k=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
qt6.qtshadertools
|
|
spirv-tools
|
|
wayland-scanner
|
|
qt6.wrapQtAppsHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
qt6.qtbase
|
|
qt6.qtdeclarative
|
|
qt6.qtwayland
|
|
qt6.qtsvg
|
|
cli11
|
|
wayland
|
|
wayland-protocols
|
|
libdrm
|
|
libgbm
|
|
breakpad
|
|
jemalloc
|
|
xorg.libxcb
|
|
pam
|
|
pipewire
|
|
];
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeFeature "DISTRIBUTOR" "Nixpkgs")
|
|
(lib.cmakeBool "DISTRIBUTOR_DEBUGINFO_AVAILABLE" true)
|
|
(lib.cmakeFeature "INSTALL_QML_PREFIX" qt6.qtbase.qtQmlPrefix)
|
|
(lib.cmakeFeature "GIT_REVISION" "tag-v${finalAttrs.version}")
|
|
];
|
|
|
|
cmakeBuildType = "RelWithDebInfo";
|
|
separateDebugInfo = true;
|
|
dontStrip = false;
|
|
|
|
meta = {
|
|
homepage = "https://quickshell.org";
|
|
description = "Flexbile QtQuick based desktop shell toolkit";
|
|
license = lib.licenses.lgpl3Only;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "quickshell";
|
|
maintainers = with lib.maintainers; [ outfoxxed ];
|
|
};
|
|
})
|