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
51 lines
975 B
Nix
51 lines
975 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
wrapGAppsHook4,
|
|
glib,
|
|
gtk4,
|
|
pango,
|
|
librsvg,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "regreet";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rharish101";
|
|
repo = "ReGreet";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-f8Xvno5QqmWz4SUiFYDvs8lFU1ZaqQ8gpTaVzWxW4T8=";
|
|
};
|
|
|
|
cargoHash = "sha256-abCQ3RsnZ/a1DbjQFOiA7Xs7bbqSJxwNps8yV6Q4FIw=";
|
|
|
|
buildFeatures = [ "gtk4_8" ];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
buildInputs = [
|
|
glib
|
|
gtk4
|
|
pango
|
|
librsvg
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Clean and customizable greeter for greetd";
|
|
homepage = "https://github.com/rharish101/ReGreet";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ fufexan ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "regreet";
|
|
};
|
|
})
|