2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, udev, pkg-config }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "g933-utils";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "unstable-2021-11-19";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ashkitten";
|
|
|
|
repo = "g933-utils";
|
2021-12-06 16:07:01 +00:00
|
|
|
rev = "1fc8cec375ed0d6f72191eadec788a49f51032d1";
|
|
|
|
sha256 = "sha256-kGLMRqZHzRuXQNTjIuLz8JPC1c/ZK38msfkTIVnaomg=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
cargoSha256 = "sha256-FBX5hrS8tNWN83XX+x+s/mYyvO1h6V63bXCx7y0R8bY=";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-08-20 17:08:02 +00:00
|
|
|
buildInputs = [ udev ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Application to configure Logitech wireless G933/G533 headsets";
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://github.com/ashkitten/g933-utils";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ seqizz ];
|
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "g933-utils";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|