push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{
lib,
buildDunePackage,
fetchurl,
}:
buildDunePackage rec {
pname = "atdgen-codec-runtime";
version = "2.16.0";
src = fetchurl {
url = "https://github.com/ahrefs/atd/releases/download/${version}/atd-${version}.tbz";
hash = "sha256-Wea0RWICQcvWkBqEKzNmg6+w6xJbOtv+4ovZTNVODe8=";
};
meta = {
description = "Runtime for atdgen generated bucklescript converters";
homepage = "https://github.com/ahrefs/atd";
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.mit;
};
}

View File

@@ -0,0 +1,37 @@
{
buildDunePackage,
alcotest,
atd,
atdgen-codec-runtime,
atdgen-runtime,
biniou,
re,
python3,
}:
buildDunePackage {
pname = "atdgen";
inherit (atdgen-codec-runtime) version src;
buildInputs = [
atd
re
];
propagatedBuildInputs = [ atdgen-runtime ];
doCheck = true;
nativeCheckInputs = [
atd
biniou
(python3.withPackages (ps: [ ps.jsonschema ]))
];
checkInputs = [
alcotest
atdgen-codec-runtime
];
meta = (removeAttrs atd.meta [ "mainProgram" ]) // {
description = "Generates efficient JSON serializers, deserializers and validators";
};
}

View File

@@ -0,0 +1,23 @@
{
buildDunePackage,
atdgen-codec-runtime,
biniou,
yojson,
}:
buildDunePackage {
pname = "atdgen-runtime";
inherit (atdgen-codec-runtime) version src;
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
biniou
yojson
];
meta = atdgen-codec-runtime.meta // {
description = "Runtime library for code generated by atdgen";
};
}