ocamlPackages.atdml: init at 4.0.0 (#503797)
This commit is contained in:
@@ -9,8 +9,6 @@ buildDunePackage {
|
||||
pname = "atdgen-runtime";
|
||||
inherit (atdgen-codec-runtime) version src;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
biniou
|
||||
yojson
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
lib,
|
||||
buildDunePackage,
|
||||
atd,
|
||||
cmdliner,
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "atdml";
|
||||
inherit (atd) version src;
|
||||
|
||||
buildInputs = [ cmdliner ];
|
||||
|
||||
propagatedBuildInputs = [ atd ];
|
||||
|
||||
meta = atd.meta // {
|
||||
description = "Simplified OCaml JSON serializers using the Yojson AST";
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
mainProgram = "atdml";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
buildDunePackage,
|
||||
testo-util,
|
||||
cmdliner,
|
||||
}:
|
||||
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "testo";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mjambon/testo/releases/download/${finalAttrs.version}/testo-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-cPm+FSS1fCj3PCyEk37p93lHjpH6NZ3GNkKJjdExaXs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cmdliner
|
||||
testo-util
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mjambon/testo";
|
||||
license = lib.licenses.isc;
|
||||
description = "Test framework for OCaml";
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
fetchurl,
|
||||
buildDunePackage,
|
||||
testo,
|
||||
ppx_deriving,
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "testo-diff";
|
||||
inherit (testo) version src;
|
||||
|
||||
propagatedBuildInputs = [ ppx_deriving ];
|
||||
|
||||
meta = testo.meta // {
|
||||
description = "Pure-OCaml diff implementation";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
buildDunePackage,
|
||||
testo,
|
||||
testo-diff,
|
||||
fpath,
|
||||
re,
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "testo-util";
|
||||
inherit (testo) version src;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fpath
|
||||
re
|
||||
testo-diff
|
||||
];
|
||||
|
||||
meta = testo.meta // {
|
||||
description = "Modules shared by testo, testo-lwt, etc";
|
||||
};
|
||||
}
|
||||
@@ -76,6 +76,8 @@ let
|
||||
|
||||
atdgen-runtime = callPackage ../development/ocaml-modules/atdgen/runtime.nix { };
|
||||
|
||||
atdml = callPackage ../development/ocaml-modules/atdml { };
|
||||
|
||||
augeas = callPackage ../development/ocaml-modules/augeas {
|
||||
inherit (pkgs) augeas;
|
||||
};
|
||||
@@ -2104,6 +2106,12 @@ let
|
||||
|
||||
terml = callPackage ../development/ocaml-modules/terml { };
|
||||
|
||||
testo = callPackage ../development/ocaml-modules/testo { };
|
||||
|
||||
testo-diff = callPackage ../development/ocaml-modules/testo/diff.nix { };
|
||||
|
||||
testo-util = callPackage ../development/ocaml-modules/testo/util.nix { };
|
||||
|
||||
tezos-base58 = callPackage ../development/ocaml-modules/tezos-base58 { };
|
||||
|
||||
tezt = callPackage ../development/ocaml-modules/tezt { };
|
||||
|
||||
Reference in New Issue
Block a user