mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
ocamlPackages.callipyge: use Dune 3
This commit is contained in:
parent
5accdae43a
commit
ad6bb1a816
|
@ -1,8 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, ocaml
|
|
||||||
|
|
||||||
, alcotest
|
, alcotest
|
||||||
, eqaf
|
, eqaf
|
||||||
, fmt
|
, fmt
|
||||||
|
@ -14,17 +12,16 @@ buildDunePackage rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz";
|
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 ];
|
propagatedBuildInputs = [ fmt eqaf ];
|
||||||
|
|
||||||
# alcotest isn't available for OCaml < 4.08 due to fmt
|
doCheck = true;
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue