From e978d20fd2ccbc98d1df46016eac1b2803ae21a6 Mon Sep 17 00:00:00 2001 From: Joe Hermaszewski Date: Sat, 8 Feb 2020 11:57:19 +0800 Subject: [PATCH] opencorsairlink: init at 2019-12-23 --- pkgs/tools/misc/opencorsairlink/default.nix | 26 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/misc/opencorsairlink/default.nix 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 0c9b909a9d06..9e5a10d7e55c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5418,6 +5418,8 @@ in ocserv = callPackage ../tools/networking/ocserv { }; + opencorsairlink = callPackage ../tools/misc/opencorsairlink { }; + openfortivpn = callPackage ../tools/networking/openfortivpn { }; obexfs = callPackage ../tools/bluetooth/obexfs { };