depot/third_party/nixpkgs/pkgs/by-name/wl/wl-gammarelay-rs/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
962 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "wl-gammarelay-rs";
version = "0.4.1";
src = fetchFromGitHub {
owner = "MaxVerevkin";
repo = "wl-gammarelay-rs";
rev = "v${version}";
hash = "sha256-36u2s+Yv+0/lZErHonVvzyBuZ2xES2MGMG4PRjaM74k=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"rustbus-0.19.3" = "sha256-Eq3qCsjiNKe3Vdpx7a3J1icPGQmKfCyz1wcgCyztH64=";
"rustbus-service-0.1.0" = "sha256-9yuIPqOecTqP0zsFqSue4hL7ZEF9MQpTF1gCJpKV6nk=";
};
};
meta = {
description = "Simple program that provides DBus interface to control display temperature and brightness under wayland without flickering";
homepage = "https://github.com/MaxVerevkin/wl-gammarelay-rs";
license = lib.licenses.gpl3Plus;
mainProgram = "wl-gammarelay-rs";
maintainers = with lib.maintainers; [ quantenzitrone ];
platforms = lib.platforms.linux;
};
}