9 buildPythonPackage rec {
15 inherit pname version;
16 hash = "sha256-SNdk166XRroSO5bb9FeJPKgCaLd5HEsdLgUTEO64OGA=";
21 test -d $hidapi || { echo "ERROR: $hidapi doesn't exist, please update/fix this build expression."; exit 1; }
22 sed -i -e "s|libhidapi|$hidapi/libhidapi|" hid/__init__.py
25 build-system = [ setuptools ];
27 dependencies = [ hidapi ];
29 doCheck = false; # no tests
31 pythonImportsCheck = [ "hid" ];
34 description = "hidapi bindings in ctypes";
35 homepage = "https://github.com/apmorton/pyhidapi";
36 license = with licenses; [ mit ];
37 maintainers = with maintainers; [ ];