Merge pull request #67612 from peterhoeg/u/hidapi
hidapi: 0.8.0-RC1 -> 0.9.0
This commit is contained in:
commit
5e3334bc55
@ -1,25 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, udev, libusb
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, systemd, libusb
|
||||
, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hidapi-0.8.0-rc1";
|
||||
pname = "hidapi";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "signal11";
|
||||
owner = "libusb";
|
||||
repo = "hidapi";
|
||||
rev = name;
|
||||
sha256 = "13d5jkmh9nh4c2kjch8k8amslnxapa9vkqzrk1z6rqmw8qgvzbkj";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "1p4g8lgwj4rki6lbn5l6rvwj0xlbn1xfh4d255bg5pvgczmwmc4i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
buildInputs = [ ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ udev libusb ];
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ libusb systemd ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ IOKit Cocoa ]);
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/signal11/hidapi;
|
||||
description = "Library for communicating with USB and Bluetooth HID devices";
|
||||
homepage = "https://github.com/libusb/hidapi";
|
||||
# Actually, you can chose between GPLv3, BSD or HIDAPI license (more liberal)
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
|
Loading…
Reference in New Issue
Block a user