base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / wl / wl-gammarelay-rs / package.nix
blobe569ff58dfc8731e7f05605c15c33092ae765bff
2   lib,
3   fetchFromGitHub,
4   rustPlatform,
5 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "wl-gammarelay-rs";
8   version = "1.0.0";
10   src = fetchFromGitHub {
11     owner = "MaxVerevkin";
12     repo = "wl-gammarelay-rs";
13     rev = "v${version}";
14     hash = "sha256-zmtC4xNNAK/TiB5TU6qsY5y0Z3roaEnTwHMZPjq6SbE=";
15   };
17   cargoLock = {
18     lockFile = ./Cargo.lock;
19     outputHashes = {
20       "rustbus-0.19.3" = "sha256-Eq3qCsjiNKe3Vdpx7a3J1icPGQmKfCyz1wcgCyztH64=";
21       "rustbus-service-0.1.0" = "sha256-9yuIPqOecTqP0zsFqSue4hL7ZEF9MQpTF1gCJpKV6nk=";
22     };
23   };
25   meta = {
26     description = "Simple program that provides DBus interface to control display temperature and brightness under wayland without flickering";
27     homepage = "https://github.com/MaxVerevkin/wl-gammarelay-rs";
28     license = lib.licenses.gpl3Plus;
29     mainProgram = "wl-gammarelay-rs";
30     maintainers = with lib.maintainers; [ quantenzitrone ];
31     platforms = lib.platforms.unix;
32     badPlatforms = lib.platforms.darwin;
33   };