Unverified Commit 2ba42c60 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

dpms-off: init at 0.2.1 (#390229)

parents 0137273d 007eb230
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{
  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";
  };
}