Merge pull request #210349 from prusnak/hidapi

hidapi: 0.12.0 -> 0.13.1
This commit is contained in:
Artturi
2023-02-03 02:19:04 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "hidapi";
version = "0.12.0";
version = "0.13.1";
src = fetchFromGitHub {
owner = "libusb";
repo = "hidapi";
rev = "${pname}-${version}";
sha256 = "sha256-SMhlcB7LcViC6UFVYACjunxsGkvSOKC3mbLBH4XQSzM=";
sha256 = "sha256-CEZP5n8qEAzsqn8dz3u1nG0YoT7J1P+WfN7urkRTuVg=";
};
nativeBuildInputs = [ cmake pkg-config ];

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "hidapi";
version = "0.12.0.post2";
version = "0.13.1";
src = fetchPypi {
inherit pname version;
sha256 = "8ebb2117be8b27af5c780936030148e1971b6b7fda06e0581ff0bfb15e94ed76";
sha256 = "99b18b28ec414ef9b604ddaed08182e486a400486f31ca56f61d537eed1d17cf";
};
nativeBuildInputs = lib.optionals stdenv.isDarwin [ xcbuild ];