
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:
nix-build ci -A fmt.check
This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).
This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).
Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase
).
If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
36 lines
894 B
Nix
36 lines
894 B
Nix
{
|
|
lib,
|
|
fetchFromGitLab,
|
|
unstableGitUpdater,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "kile-wl";
|
|
version = "2.1-unstable-2023-07-23";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "snakedye";
|
|
repo = "kile";
|
|
rev = "c24208761d04e0a74d203fc1dcd2f7fed68da388";
|
|
hash = "sha256-4iclNVd7nm6LkgvsHwWaWyi1bZL/A+bbT5OSXn70bLs=";
|
|
};
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
url = "https://gitlab.com/snakedye/kile.git";
|
|
tagPrefix = "v";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-HcwdUwhiSkULCevsHTnRyazNfHDvLZv44SFXKxrHxYY=";
|
|
|
|
meta = with lib; {
|
|
description = "Tiling layout generator for river";
|
|
homepage = "https://gitlab.com/snakedye/kile";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux; # It's meant for river, a wayland compositor
|
|
maintainers = with maintainers; [ moni ];
|
|
mainProgram = "kile";
|
|
};
|
|
}
|