2019-02-06 16:29:28 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, result, ppx_derivers }:
|
2017-03-12 07:29:54 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ocaml-migrate-parsetree";
|
2019-08-04 08:31:36 +01:00
|
|
|
version = "1.4.0";
|
2017-03-12 07:29:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-07-05 09:50:50 +01:00
|
|
|
owner = "ocaml-ppx";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2017-03-12 07:29:54 +00:00
|
|
|
rev = "v${version}";
|
2019-08-04 08:31:36 +01:00
|
|
|
sha256 = "0sv1p4615l8gpbah4ya2c40yr6fbvahvv3ks7zhrsgcwcq2ljyr2";
|
2017-03-12 07:29:54 +00:00
|
|
|
};
|
|
|
|
|
2019-02-06 16:29:28 +00:00
|
|
|
propagatedBuildInputs = [ ppx_derivers result ];
|
2017-03-12 07:29:54 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Convert OCaml parsetrees between different major versions";
|
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|