Files
nixpkgs/pkgs/by-name/sw/swaysome/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
926 B
Nix

{
lib,
rustPlatform,
fetchFromGitLab,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "swaysome";
version = "2.3.2";
src = fetchFromGitLab {
owner = "hyask";
repo = "swaysome";
tag = finalAttrs.version;
hash = "sha256-YD+OYoUz4ydOGZTB5qPnqamV4xO6QoJiyf27qx1SuoU=";
};
cargoHash = "sha256-cg8fCy2naqibuS5rGfgpFDBAr0EqOldQbejq4ctXJ/0=";
# failed to execute sway: Os { code: 2, kind: NotFound, message: "No such file or directory" }
doCheck = false;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
meta = {
description = "Helper to make sway behave more like awesomewm";
homepage = "https://gitlab.com/hyask/swaysome";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ esclear ];
platforms = lib.platforms.linux;
mainProgram = "swaysome";
};
})