ocamlPackages.hidapi: 1.1.1 → 1.1.2
This commit is contained in:
parent
b34716334f
commit
9e37176f06
|
@ -1,19 +1,21 @@
|
||||||
{ pkgs, lib, fetchurl, buildDunePackage, pkg-config, dune-configurator
|
{ pkgs, lib, fetchFromGitHub, buildDunePackage, pkg-config, dune-configurator
|
||||||
, bigstring,
|
, bigstring,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "hidapi";
|
pname = "hidapi";
|
||||||
version = "1.1.1";
|
version = "1.1.2";
|
||||||
|
|
||||||
useDune2 = true;
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/vbmithr/ocaml-hidapi/releases/download/${version}/${pname}-${version}.tbz";
|
owner = "vbmithr";
|
||||||
sha256 = "1j7rd7ajrzla76r3sxljx6fb18f4f4s3jd7vhv59l2ilxyxycai2";
|
repo = "ocaml-hidapi";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-SNQ1/i5wJJgcslIUBe+z5QgHns/waHnILyMUJ46cUwg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimalOCamlVersion = "4.03";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ pkgs.hidapi dune-configurator ];
|
buildInputs = [ pkgs.hidapi dune-configurator ];
|
||||||
|
|
Loading…
Reference in a new issue