1 { lib, stdenv, fetchFromGitHub, libusb1, pkg-config }:
3 stdenv.mkDerivation rec {
4 name = "OpenCorsairLink-${version}";
5 version = "2019-12-23";
7 buildInputs = [ libusb1 ];
8 nativeBuildInputs = [ pkg-config ];
10 makeFlags = [ "PREFIX=${placeholder "out"}" ];
12 src = fetchFromGitHub {
13 owner = "audiohacked";
14 repo = "OpenCorsairLink";
15 rev = "46dbf206e19a40d6de6bd73142ed93bdb26c5c1a";
16 sha256 = "1nizicl0mc9pslc6065mnrs0fnn8sh7ca8iiw7w9ix57zrhabpld";
20 description = "Linux and Mac OS support for the CorsairLink Devices ";
21 homepage = "https://github.com/audiohacked/OpenCorsairLink";
22 license = licenses.gpl2;
23 platforms = platforms.all;
24 maintainers = [ lib.maintainers.expipiplus1 ];