75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
26 lines
534 B
Nix
26 lines
534 B
Nix
{ buildDunePackage, atd, biniou, yojson }:
|
|
|
|
let runtime =
|
|
buildDunePackage {
|
|
pname = "atdgen-runtime";
|
|
inherit (atd) version useDune2 src;
|
|
|
|
propagatedBuildInputs = [ biniou yojson ];
|
|
|
|
meta = { inherit (atd.meta) license; };
|
|
}
|
|
; in
|
|
|
|
buildDunePackage {
|
|
pname = "atdgen";
|
|
inherit (atd) version useDune2 src;
|
|
|
|
buildInputs = [ atd ];
|
|
|
|
propagatedBuildInputs = [ runtime ];
|
|
|
|
meta = {
|
|
description = "Generates efficient JSON serializers, deserializers and validators";
|
|
inherit (atd.meta) license;
|
|
};
|
|
}
|