nixpkgs/pkgs/development/ocaml-modules/ppxlib/default.nix

27 lines
634 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildDunePackage
2018-07-05 20:40:30 +01:00
, ocaml-compiler-libs, ocaml-migrate-parsetree, ppx_derivers, stdio
}:
buildDunePackage rec {
pname = "ppxlib";
version = "0.5.0";
2018-07-05 20:40:30 +01:00
src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = pname;
2018-07-05 20:40:30 +01:00
rev = version;
sha256 = "0d2nyp4mlx7m3vdvcdhs51x570vw30j645yfbwlhjpwdd8243fya";
2018-07-05 20:40:30 +01:00
};
propagatedBuildInputs = [
ocaml-compiler-libs ocaml-migrate-parsetree ppx_derivers stdio
];
meta = {
description = "Comprehensive ppx tool set";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}