1 { pkgs, lib, fetchFromGitHub, buildDunePackage, pkg-config, dune-configurator
11 src = fetchFromGitHub {
13 repo = "ocaml-hidapi";
15 hash = "sha256-SNQ1/i5wJJgcslIUBe+z5QgHns/waHnILyMUJ46cUwg=";
18 minimalOCamlVersion = "4.03";
20 nativeBuildInputs = [ pkg-config ];
21 buildInputs = [ pkgs.hidapi dune-configurator ];
22 propagatedBuildInputs = [ bigstring ];
27 description = "Bindings to Signal11's hidapi library";
28 homepage = "https://github.com/vbmithr/ocaml-hidapi";
29 license = licenses.isc;
30 maintainers = [ maintainers.alexfmpe ];
31 mainProgram = "ocaml-hid-enumerate";