ocamlPackages.functoria: 3.1.0 → 3.1.1

authored by Vincent Laporte and committed by Vincent Laporte d972bd23 8c9c0eb3

+7 -5
+6 -4
pkgs/development/ocaml-modules/functoria/default.nix
··· 1 - { stdenv, fetchurl, buildDunePackage, alcotest, cmdliner 1 + { lib, fetchurl, buildDunePackage, alcotest, cmdliner 2 2 , rresult, astring, fmt, ocamlgraph, logs, bos, fpath, ptime 3 3 }: 4 4 5 5 buildDunePackage rec { 6 6 pname = "functoria"; 7 - version = "3.1.0"; 7 + version = "3.1.1"; 8 + 9 + useDune2 = true; 8 10 9 11 minimumOCamlVersion = "4.04"; 10 12 11 13 src = fetchurl { 12 14 url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 13 - sha256 = "15jdqdj1vfi0x9gjydrrnbwzwbzw34w1iir032jrji820xlblky2"; 15 + sha256 = "0bihxbq16zwsi7frk4b8wz8993mvy2ym3n6288jhv0n0gb7c2f7m"; 14 16 }; 15 17 16 18 propagatedBuildInputs = [ cmdliner rresult astring fmt ocamlgraph logs bos fpath ptime ]; ··· 18 20 19 21 doCheck = true; 20 22 21 - meta = with stdenv.lib; { 23 + meta = with lib; { 22 24 description = "A DSL to organize functor applications"; 23 25 homepage = "https://github.com/mirage/functoria"; 24 26 license = licenses.isc;
+1 -1
pkgs/development/ocaml-modules/functoria/runtime.nix
··· 3 3 buildDunePackage { 4 4 pname = "functoria-runtime"; 5 5 6 - inherit (functoria) version src; 6 + inherit (functoria) version useDune2 src; 7 7 8 8 propagatedBuildInputs = [ cmdliner fmt ]; 9 9 checkInputs = [ alcotest functoria];