ocamlPackages.callipyge: use Dune 3
This commit is contained in:
parent
5accdae43a
commit
ad6bb1a816
1 changed files with 4 additions and 7 deletions
|
@ -1,8 +1,6 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchurl
|
||||
, ocaml
|
||||
|
||||
, alcotest
|
||||
, eqaf
|
||||
, fmt
|
||||
|
@ -14,17 +12,16 @@ buildDunePackage rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0=";
|
||||
hash = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0=";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [ fmt eqaf ];
|
||||
|
||||
# alcotest isn't available for OCaml < 4.08 due to fmt
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue