Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildDunePackage, 3 alcotest, 4 atd, 5 atdgen-codec-runtime, 6 atdgen-runtime, 7 biniou, 8 re, 9 python3, 10}: 11 12buildDunePackage { 13 pname = "atdgen"; 14 inherit (atdgen-codec-runtime) version src; 15 16 buildInputs = [ 17 atd 18 re 19 ]; 20 21 propagatedBuildInputs = [ atdgen-runtime ]; 22 23 doCheck = true; 24 nativeCheckInputs = [ 25 atd 26 biniou 27 (python3.withPackages (ps: [ ps.jsonschema ])) 28 ]; 29 checkInputs = [ 30 alcotest 31 atdgen-codec-runtime 32 ]; 33 34 meta = (builtins.removeAttrs atd.meta [ "mainProgram" ]) // { 35 description = "Generates efficient JSON serializers, deserializers and validators"; 36 }; 37}