atd: 1.12.0 -> 2.0.0 (#45046)

atdgen is now part of atd
This commit is contained in:
Ivan Jager
2018-08-15 10:45:42 +02:00
committed by xeji
parent e2c98528e9
commit ef98b96356
3 changed files with 13 additions and 52 deletions
@@ -1,25 +0,0 @@
{stdenv, atd, yojson, biniou, buildOcaml, fetchurl, which}:
buildOcaml rec {
name = "atdgen";
version = "1.6.0";
src = fetchurl {
url = "https://github.com/mjambon/atdgen/archive/v${version}.tar.gz";
sha256 = "1icdxgb7qqq1pcbfqi0ikryiwaljd594z3acyci8g3bnlq0yc7zn";
};
installPhase = ''
mkdir -p $out/bin
make PREFIX=$out install
'';
buildInputs = [ which atd biniou yojson ];
meta = with stdenv.lib; {
homepage = https://github.com/mjambon/atdgen;
description = "Generates optimized boilerplate OCaml code for JSON and Biniou IO from type definitions";
license = licenses.bsd3;
maintainers = [ maintainers.jwilberding ];
};
}