headsetcontrol: 2.7.0 -> 3.0.0

This commit is contained in:
LeixB 2024-04-08 18:59:19 +02:00
parent 0145fa3e1d
commit ab7af65299
No known key found for this signature in database

View file

@ -1,21 +1,29 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, cmake
, hidapi
}:
stdenv.mkDerivation rec {
pname = "headsetcontrol";
version = "2.7.0";
version = "3.0.0";
src = fetchFromGitHub {
owner = "Sapd";
repo = "HeadsetControl";
rev = version;
sha256 = "sha256-tAndkfLEgj81JWzXtDBNspRxzKAL6XaRw0aDI1XbC1E=";
sha256 = "sha256-N1c94iAJgCPhGNDCGjMINg0AL2wPX5gVIsJ+pzn/l9Y=";
};
patches = [
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/Sapd/HeadsetControl/pull/337.patch";
hash = "sha256-18w9BQsMljEA/eY3rnosHvKwhiaF79TrWH/ayuyZMrM=";
})
];
nativeBuildInputs = [
cmake
];
@ -24,11 +32,6 @@ stdenv.mkDerivation rec {
hidapi
];
/*
Tests depend on having the appropriate headsets connected.
*/
doCheck = false;
meta = with lib; {
description = "Sidetone and Battery status for Logitech G930, G533, G633, G933 SteelSeries Arctis 7/PRO 2019 and Corsair VOID (Pro)";
longDescription = ''