mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
dpms-off: init at 0.2.1
This commit is contained in:
parent
2ccfe3afa0
commit
007eb230fa
1 changed files with 28 additions and 0 deletions
28
pkgs/by-name/dp/dpms-off/package.nix
Normal file
28
pkgs/by-name/dp/dpms-off/package.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
rustPlatform,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "dpms-off";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lilydjwg";
|
||||||
|
repo = "dpms-off";
|
||||||
|
rev = "17c5600fdfcf3f5aeb7c85b649dc53e18565b21f";
|
||||||
|
hash = "sha256-fADydBO4XISt2n7vrkCuca8db9jtMVsUUvqYAqeVy60=";
|
||||||
|
};
|
||||||
|
|
||||||
|
useFetchCargoVendor = true;
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue