diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-03-31 20:47:50 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-04-01 08:33:08 +0200 |
commit | d99c24d00abd47991e203939e83419aff5de25ea (patch) | |
tree | c67a30f627a9042f8f23fd57c51a6b77d57ce9ae /pkgs/development/ocaml-modules/hidapi | |
parent | eb0980855d03c1727557c33539a6f89be46cecbb (diff) | |
download | nixpkgs-d99c24d00abd47991e203939e83419aff5de25ea.tar nixpkgs-d99c24d00abd47991e203939e83419aff5de25ea.tar.gz nixpkgs-d99c24d00abd47991e203939e83419aff5de25ea.tar.bz2 nixpkgs-d99c24d00abd47991e203939e83419aff5de25ea.tar.lz nixpkgs-d99c24d00abd47991e203939e83419aff5de25ea.tar.xz nixpkgs-d99c24d00abd47991e203939e83419aff5de25ea.tar.zst nixpkgs-d99c24d00abd47991e203939e83419aff5de25ea.zip |
ocamlPackages.hidapi: use Dune 2
Diffstat (limited to 'pkgs/development/ocaml-modules/hidapi')
-rw-r--r-- | pkgs/development/ocaml-modules/hidapi/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/hidapi/default.nix b/pkgs/development/ocaml-modules/hidapi/default.nix index cd95b34fa2b..0de997881c2 100644 --- a/pkgs/development/ocaml-modules/hidapi/default.nix +++ b/pkgs/development/ocaml-modules/hidapi/default.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, fetchurl, buildDunePackage, pkg-config +{ pkgs, lib, fetchurl, buildDunePackage, pkg-config, dune-configurator , bigstring, }: @@ -6,6 +6,8 @@ buildDunePackage rec { pname = "hidapi"; version = "1.1.1"; + useDune2 = true; + src = fetchurl { url = "https://github.com/vbmithr/ocaml-hidapi/releases/download/${version}/${pname}-${version}.tbz"; sha256 = "1j7rd7ajrzla76r3sxljx6fb18f4f4s3jd7vhv59l2ilxyxycai2"; @@ -13,7 +15,7 @@ buildDunePackage rec { minimumOCamlVersion = "4.03"; - buildInputs = [ pkgs.hidapi pkg-config ]; + buildInputs = [ pkgs.hidapi pkg-config dune-configurator ]; propagatedBuildInputs = [ bigstring ]; doCheck = true; |