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
28 lines
647 B
Nix
28 lines
647 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "dpms-off";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lilydjwg";
|
|
repo = "dpms-off";
|
|
rev = "17c5600fdfcf3f5aeb7c85b649dc53e18565b21f";
|
|
hash = "sha256-fADydBO4XISt2n7vrkCuca8db9jtMVsUUvqYAqeVy60=";
|
|
};
|
|
|
|
cargoHash = "sha256-wpX14e+J+n1it+1D6OD/AyDn+bOuSoJCEEWlmuZ7c0Y=";
|
|
|
|
meta = {
|
|
description = "Turn off monitors to save power (for Wayland)";
|
|
homepage = "https://github.com/lilydjwg/dpms-off";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.philiptaron ];
|
|
mainProgram = "dpms-off";
|
|
};
|
|
}
|