nixpkgs/pkgs/tools/misc/opencorsairlink/default.nix

27 lines
756 B
Nix
Raw Normal View History

2021-01-17 04:51:22 +01:00
{ lib, stdenv, fetchFromGitHub, libusb1, pkg-config }:
2020-02-08 04:57:19 +01:00
stdenv.mkDerivation rec {
pname = "OpenCorsairLink";
version = "unstable-2019-12-23";
2020-02-08 04:57:19 +01:00
buildInputs = [ libusb1 ];
2021-01-17 04:51:22 +01:00
nativeBuildInputs = [ pkg-config ];
2020-02-08 04:57:19 +01:00
makeFlags = [ "PREFIX=${placeholder "out"}" ];
src = fetchFromGitHub {
owner = "audiohacked";
repo = "OpenCorsairLink";
rev = "46dbf206e19a40d6de6bd73142ed93bdb26c5c1a";
sha256 = "1nizicl0mc9pslc6065mnrs0fnn8sh7ca8iiw7w9ix57zrhabpld";
};
meta = with lib; {
2020-02-08 04:57:19 +01:00
description = "Linux and Mac OS support for the CorsairLink Devices ";
homepage = "https://github.com/audiohacked/OpenCorsairLink";
license = licenses.gpl2;
platforms = platforms.all;
2021-01-15 10:19:50 +01:00
maintainers = [ lib.maintainers.expipiplus1 ];
2020-02-08 04:57:19 +01:00
};
}