2024-01-02 11:29:13 +00:00
|
|
|
{ lib, buildDunePackage, cmdliner
|
|
|
|
, functoria-runtime
|
2022-09-22 12:36:57 +00:00
|
|
|
, rresult, astring, fmt, logs, bos, fpath, emile, uri
|
2024-01-02 11:29:13 +00:00
|
|
|
, alcotest
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
buildDunePackage {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "functoria";
|
2024-01-02 11:29:13 +00:00
|
|
|
inherit (functoria-runtime) version src;
|
2020-12-03 08:41:04 +00:00
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
propagatedBuildInputs = [ cmdliner rresult astring fmt logs bos fpath emile uri ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
# Tests are not compatible with cmdliner 1.3
|
|
|
|
doCheck = false;
|
2024-01-02 11:29:13 +00:00
|
|
|
checkInputs = [ alcotest functoria-runtime ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A DSL to organize functor applications";
|
|
|
|
homepage = "https://github.com/mirage/functoria";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|