mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
48 lines
921 B
Nix
48 lines
921 B
Nix
{ lib
|
|
, pkgs
|
|
, stdenv
|
|
, ninja
|
|
, libusb1
|
|
, meson
|
|
, boost
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, microsoft-gsl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ite-backlight";
|
|
version = "1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hexagonal-sun";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1hany4bn93mac9qyz97r1l858d48zdvvmn3mabzr3441ivqr9j0a";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
ninja
|
|
pkg-config
|
|
meson
|
|
microsoft-gsl
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
libusb1
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Commands to control ite-backlight devices";
|
|
longDescription = ''
|
|
This project aims to provide a set of simple utilities for controlling ITE 8291
|
|
keyboard backlight controllers.
|
|
'';
|
|
license = with licenses; [ mit ];
|
|
homepage = "https://github.com/hexagonal-sun/ite-backlight";
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ hexagonal-sun ];
|
|
};
|
|
}
|