Skip to content

Commit

Permalink
ocamlPackages.hidapi: 1.1.1 → 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Mar 22, 2023
1 parent b347163 commit 9e37176
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pkgs/development/ocaml-modules/hidapi/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{ pkgs, lib, fetchurl, buildDunePackage, pkg-config, dune-configurator
{ pkgs, lib, fetchFromGitHub, buildDunePackage, pkg-config, dune-configurator
, bigstring,
}:

buildDunePackage rec {
pname = "hidapi";
version = "1.1.1";
version = "1.1.2";

useDune2 = true;
duneVersion = "3";

src = fetchurl {
url = "https://github.com/vbmithr/ocaml-hidapi/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "1j7rd7ajrzla76r3sxljx6fb18f4f4s3jd7vhv59l2ilxyxycai2";
src = fetchFromGitHub {
owner = "vbmithr";
repo = "ocaml-hidapi";
rev = version;
hash = "sha256-SNQ1/i5wJJgcslIUBe+z5QgHns/waHnILyMUJ46cUwg=";
};

minimumOCamlVersion = "4.03";
minimalOCamlVersion = "4.03";

nativeBuildInputs = [ pkg-config ];
buildInputs = [ pkgs.hidapi dune-configurator ];
Expand Down

0 comments on commit 9e37176

Please sign in to comment.