Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

83 lines
1.6 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
})