ocamlPackages.duff: use Dune 3
This commit is contained in:
parent
704a0dd954
commit
7bbbb27a83
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
, ocaml
|
|
||||||
, fmt
|
, fmt
|
||||||
, alcotest
|
, alcotest
|
||||||
, hxd
|
, hxd
|
||||||
|
@ -13,6 +12,9 @@ buildDunePackage rec {
|
||||||
pname = "duff";
|
pname = "duff";
|
||||||
version = "0.5";
|
version = "0.5";
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.08";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz";
|
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz";
|
||||||
sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI=";
|
sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI=";
|
||||||
|
@ -20,7 +22,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ fmt ];
|
propagatedBuildInputs = [ fmt ];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
doCheck = true;
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
alcotest
|
alcotest
|
||||||
crowbar
|
crowbar
|
||||||
|
|
Loading…
Reference in a new issue