summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/atd/default.nix
blob: e3e056f54426f85b4e7176f31d946c7643438ea1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, menhir, easy-format, fetchFromGitHub, buildDunePackage, which, biniou, yojson }:

buildDunePackage rec {
  pname = "atd";
  version = "2.0.0";

  src = fetchFromGitHub {
    owner = "mjambon";
    repo = pname;
    rev = version;
    sha256 = "0alzmk97rxg7s6irs9lvf89dy9n3r769my5n4j9p9qyigcdgjaia";
  };

  createFindlibDestdir = true;

  buildInputs = [ which menhir ];
  propagatedBuildInputs = [ easy-format biniou yojson ];

  meta = with stdenv.lib; {
    homepage = https://github.com/mjambon/atd;
    description = "Syntax for cross-language type definitions";
    license = licenses.bsd3;
    maintainers = with maintainers; [ aij jwilberding ];
  };
}