diff --git a/pkgs/tools/misc/opencorsairlink/default.nix b/pkgs/tools/misc/opencorsairlink/default.nix new file mode 100644 index 000000000000..11df20b3b827 --- /dev/null +++ b/pkgs/tools/misc/opencorsairlink/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, libusb1, pkgconfig }: + +stdenv.mkDerivation rec { + name = "OpenCorsairLink-${version}"; + version = "2019-12-23"; + + buildInputs = [ libusb1 ]; + nativeBuildInputs = [ pkgconfig ]; + + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + + src = fetchFromGitHub { + owner = "audiohacked"; + repo = "OpenCorsairLink"; + rev = "46dbf206e19a40d6de6bd73142ed93bdb26c5c1a"; + sha256 = "1nizicl0mc9pslc6065mnrs0fnn8sh7ca8iiw7w9ix57zrhabpld"; + }; + + meta = with stdenv.lib; { + description = "Linux and Mac OS support for the CorsairLink Devices "; + homepage = "https://github.com/audiohacked/OpenCorsairLink"; + license = licenses.gpl2; + platforms = platforms.all; + maintainers = [ stdenv.lib.maintainers.expipiplus1 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85891e27c516..badee379ad31 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5428,6 +5428,8 @@ in ocserv = callPackage ../tools/networking/ocserv { }; + opencorsairlink = callPackage ../tools/misc/opencorsairlink { }; + openfortivpn = callPackage ../tools/networking/openfortivpn { }; obexfs = callPackage ../tools/bluetooth/obexfs { };