Files
nixpkgs/pkgs/by-name/sw/swayws/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

34 lines
875 B
Nix

{
lib,
fetchFromGitLab,
rustPlatform,
}:
rustPlatform.buildRustPackage {
pname = "swayws";
version = "1.3.0";
src = fetchFromGitLab {
owner = "w0lff";
repo = "swayws";
# Specifying commit hash rather than tag because upstream has
# rewritten a tag before:
# https://gitlab.com/w0lff/swayws/-/issues/1#note_1342349382
rev = "0c125d65f9fe9269f78ddaf575cd39f00f749659";
hash = "sha256-ILS7r1gL6fXeX58CJ+gHvQ5Cst7PbK4yNw2Dh5l9IEc=";
};
cargoHash = "sha256-AS1vEnNLDLsNaIZ6pLrsQpQy9+bSoCn5oyj8SXjJ+OE=";
# swayws does not have any tests
doCheck = false;
meta = {
description = "Sway workspace tool which allows easy moving of workspaces to and from outputs";
mainProgram = "swayws";
homepage = "https://gitlab.com/w0lff/swayws";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.atila ];
};
}