ocamlPackages.ppx_tools_versioned: 5.1 -> 5.2.3
Ensures compatibility with OCaml 4.08
This commit is contained in:
parent
7cca325b07
commit
c21c1e8f3f
@ -1,23 +1,19 @@
|
|||||||
{ stdenv, fetchFromGitHub, ocaml, findlib, ocaml-migrate-parsetree }:
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml-migrate-parsetree }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
buildDunePackage rec {
|
||||||
name = "ocaml${ocaml.version}-ppx_tools_versioned-${version}";
|
pname = "ppx_tools_versioned";
|
||||||
version = "5.1";
|
version = "5.2.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "let-def";
|
owner = "ocaml-ppx";
|
||||||
repo = "ppx_tools_versioned";
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624";
|
sha256 = "1hcmpnw26zf70a71r3d2c2c0mn8q084gdn1r36ynng6fv9hq6j0y";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
|
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
meta = with lib; {
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = https://github.com/let-def/ppx_tools_versioned;
|
homepage = https://github.com/let-def/ppx_tools_versioned;
|
||||||
description = "Tools for authors of syntactic tools (such as ppx rewriters)";
|
description = "Tools for authors of syntactic tools (such as ppx rewriters)";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
|
Loading…
Reference in New Issue
Block a user