ocamlPackages.mirage-clock: use Dune 2

This commit is contained in:
Vincent Laporte 2021-03-02 20:50:55 +01:00
parent f4fcfce627
commit cc8f96f8c5
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
2 changed files with 6 additions and 2 deletions

@ -4,6 +4,8 @@ buildDunePackage rec {
pname = "mirage-clock";
version = "3.1.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/mirage-clock/releases/download/v${version}/mirage-clock-v${version}.tbz";
sha256 = "0cqa07aqkamw0dvis1fl46brvk81zvb92iy5076ik62gv9n5a0mn";

@ -1,9 +1,11 @@
{ buildDunePackage, mirage-clock }:
{ buildDunePackage, mirage-clock, dune-configurator }:
buildDunePackage {
pname = "mirage-clock-unix";
inherit (mirage-clock) version src;
inherit (mirage-clock) version useDune2 src;
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ mirage-clock ];