ocamlPackages.encore: use Dune 3
This commit is contained in:
parent
6e919a21c3
commit
dd8841872a
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, ocaml
|
|
||||||
, fmt
|
, fmt
|
||||||
, bigstringaf
|
, bigstringaf
|
||||||
, angstrom
|
, angstrom
|
||||||
|
@ -12,14 +11,14 @@ buildDunePackage rec {
|
||||||
pname = "encore";
|
pname = "encore";
|
||||||
version = "0.8";
|
version = "0.8";
|
||||||
|
|
||||||
minimumOCamlVersion = "4.07";
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz";
|
url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz";
|
||||||
sha256 = "a406bc9863b04bb424692045939d6c170a2bb65a98521ae5608d25b0559344f6";
|
sha256 = "a406bc9863b04bb424692045939d6c170a2bb65a98521ae5608d25b0559344f6";
|
||||||
};
|
};
|
||||||
|
|
||||||
useDune2 = true;
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ angstrom fmt bigstringaf ];
|
propagatedBuildInputs = [ angstrom fmt bigstringaf ];
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
Loading…
Reference in a new issue