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
48 lines
941 B
Nix
48 lines
941 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
kpackage,
|
|
kwin,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "dynamic-workspaces";
|
|
version = "3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "d86leader";
|
|
repo = "dynamic_workspaces";
|
|
# 3.2 was released on KDE Store but not tagged.
|
|
rev = "a06e723804398d672be74eba0cd4ccee062e1410";
|
|
hash = "sha256-fOxWVj6bB5nBiPXvVvjwc3MVjKWaOniqPe7UnsPsusE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
kpackage
|
|
];
|
|
|
|
buildInputs = [
|
|
kwin
|
|
];
|
|
|
|
dontBuild = true;
|
|
dontWrapQtApps = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
kpackagetool6 --type KWin/Script --install $src --packageroot $out/share/kwin/scripts
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "KWin script that automatically adds/removes virtual desktops";
|
|
homepage = "https://github.com/maurges/dynamic_workspaces";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|