8 buildPythonPackage rec {
13 inherit pname version;
14 hash = "sha256-HpVOf3q5t8nfx421lQRpLBfbO3EklJK5drFSW5fbsOg=";
17 propagatedBuildInputs = [ hidapi ];
19 nativeCheckInputs = [ nose ];
23 test -d $hidapi || { echo "ERROR: $hidapi doesn't exist, please update/fix this build expression."; exit 1; }
24 sed -i -e "s|libhidapi|$hidapi/libhidapi|" hid/__init__.py
28 description = "hidapi bindings in ctypes";
29 homepage = "https://github.com/apmorton/pyhidapi";
30 license = with licenses; [ mit ];
31 maintainers = with maintainers; [ AndersonTorres ];