ocamlPackages.duff: use Dune 3

This commit is contained in:
Vincent Laporte 2023-04-10 14:15:00 +02:00
parent 704a0dd954
commit 7bbbb27a83
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,7 +1,6 @@
{ lib
, fetchurl
, buildDunePackage
, ocaml
, fmt
, alcotest
, hxd
@ -13,6 +12,9 @@ buildDunePackage rec {
pname = "duff";
version = "0.5";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz";
sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI=";
@ -20,7 +22,7 @@ buildDunePackage rec {
propagatedBuildInputs = [ fmt ];
doCheck = lib.versionAtLeast ocaml.version "4.08";
doCheck = true;
checkInputs = [
alcotest
crowbar