Skip to content

Commit

Permalink
ocamlPackages.functoria: 3.1.0 → 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Dec 1, 2020
1 parent 8c9c0eb commit d972bd2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions pkgs/development/ocaml-modules/functoria/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{ stdenv, fetchurl, buildDunePackage, alcotest, cmdliner
{ lib, fetchurl, buildDunePackage, alcotest, cmdliner
, rresult, astring, fmt, ocamlgraph, logs, bos, fpath, ptime
}:

buildDunePackage rec {
pname = "functoria";
version = "3.1.0";
version = "3.1.1";

useDune2 = true;

minimumOCamlVersion = "4.04";

src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "15jdqdj1vfi0x9gjydrrnbwzwbzw34w1iir032jrji820xlblky2";
sha256 = "0bihxbq16zwsi7frk4b8wz8993mvy2ym3n6288jhv0n0gb7c2f7m";
};

propagatedBuildInputs = [ cmdliner rresult astring fmt ocamlgraph logs bos fpath ptime ];
checkInputs = [ alcotest ];

doCheck = true;

meta = with stdenv.lib; {
meta = with lib; {
description = "A DSL to organize functor applications";
homepage = "https://github.com/mirage/functoria";
license = licenses.isc;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/functoria/runtime.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildDunePackage {
pname = "functoria-runtime";

inherit (functoria) version src;
inherit (functoria) version useDune2 src;

propagatedBuildInputs = [ cmdliner fmt ];
checkInputs = [ alcotest functoria];
Expand Down

0 comments on commit d972bd2

Please sign in to comment.