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
29 lines
738 B
Nix
29 lines
738 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitea,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "inhibridge";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "Scrumplex";
|
|
repo = "inhibridge";
|
|
rev = version;
|
|
hash = "sha256-cKVw3Gd4Ml8BeXjZqTN6ToeRzO9PI+Sn45gpltlRuWM=";
|
|
};
|
|
|
|
cargoHash = "sha256-bW0+oZJO4JFgDuLl5f7iVorSyN/ro+BRSTX0j15Oqb4=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://codeberg.org/Scrumplex/inhibridge";
|
|
description = "Simple daemon that bridges freedesktop.org ScreenSaver inhibitions to systemd-inhibit";
|
|
platforms = platforms.linux;
|
|
license = licenses.agpl3Plus;
|
|
maintainers = with maintainers; [ Scrumplex ];
|
|
mainProgram = "inhibridge";
|
|
};
|
|
}
|