Skip to content

Commit

Permalink
wl-gammarelay-applet: init at 0.1.4 (NixOS#343679)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Sep 23, 2024
2 parents 122d20b + 54bc6d2 commit 51d4a93
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11855,6 +11855,12 @@
githubId = 13804737;
keys = [ { fingerprint = "7FE2 113A A08B 695A C8B8 DDE6 AE53 B4C2 E58E DD45"; } ];
};
lgbishop = {
email = "lachlan.bishop@hotmail.com";
github = "lgbishop";
githubId = 125634066;
name = "Lachlan Bishop";
};
lgcl = {
email = "dev@lgcl.de";
name = "Leon Vack";
Expand Down
54 changes: 54 additions & 0 deletions pkgs/by-name/wl/wl-gammarelay-applet/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
lib,
fetchFromGitHub,
rustPlatform,
stdenv,
wayland,
libxkbcommon,
fontconfig,
pkg-config,
autoPatchelfHook,
}:

rustPlatform.buildRustPackage {
pname = "wl-gammarelay-applet";
version = "0.1.4";

src = fetchFromGitHub {
owner = "lgbishop";
repo = "wl-gammarelay-applet";
rev = "8a0d9e6364d7445fc69c59b2f168cfec91c2fe87";
sha256 = "sha256-t6bycmaquZ0IMs/WnAzkz5FnIWKIq0BTbeeoUFLeuYg=";
};

cargoHash = "sha256-1hJLu/ndnBYdzJ+NjLaCYENFszvAj9MYpLsZyLEq0Sg=";

nativeBuildInputs = [
pkg-config
autoPatchelfHook
];

buildInputs = [
stdenv.cc.cc.lib
];

runtimeDependencies = [
wayland
libxkbcommon
fontconfig.lib
];

meta = {
description = "Control wl-gammarelay-rs via applet";
longDescription = ''
wl-gammarelay-applet is a small desktop applet for controlling
wl-gammarelay-rs via DBus. This applet is written in Rust and
provides a Slint UI.
'';
homepage = "https://github.com/lgbishop/wl-gammarelay-applet";
mainProgram = "wl-gammarelay-applet";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ lgbishop ];
};
}

0 comments on commit 51d4a93

Please sign in to comment.