parent
5a90feb76a
commit
100e796af2
@ -1,26 +1,17 @@ |
||||
{ 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, alcotest, atd, atdgen-codec-runtime, atdgen-runtime, biniou, re, yojson }: |
||||
|
||||
buildDunePackage { |
||||
pname = "atdgen"; |
||||
inherit (atd) version useDune2 src; |
||||
inherit (atdgen-codec-runtime) version src; |
||||
|
||||
buildInputs = [ atd re ]; |
||||
|
||||
buildInputs = [ atd ]; |
||||
propagatedBuildInputs = [ atdgen-runtime ]; |
||||
|
||||
propagatedBuildInputs = [ runtime ]; |
||||
doCheck = true; |
||||
checkInputs = [ alcotest atdgen-codec-runtime ]; |
||||
|
||||
meta = { |
||||
meta = atd.meta // { |
||||
description = "Generates efficient JSON serializers, deserializers and validators"; |
||||
inherit (atd.meta) license; |
||||
}; |
||||
} |
||||
|
Loading…
Reference in new issue