forked from mirrors/nixpkgs
ocamlPackages.ocaml-migrate-parsetree: 1.0.7 -> 1.0.11 (#42829)
This commit is contained in:
parent
fcd93f9e07
commit
5d3a2b946d
|
@ -6,24 +6,19 @@ else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-ocaml-migrate-parsetree-${version}";
|
name = "ocaml${ocaml.version}-ocaml-migrate-parsetree-${version}";
|
||||||
version = "1.0.7";
|
version = "1.0.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "let-def";
|
owner = "ocaml-ppx";
|
||||||
repo = "ocaml-migrate-parsetree";
|
repo = "ocaml-migrate-parsetree";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0v1h943xv5bd8qy5mr8pvyjbgamhs59nkgr94j3vznabrcfqzkh7";
|
sha256 = "05kbgs9n1x64fk6g3wbjnwjd17w10k3k8dzglnc45xg4hr7z651n";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild jbuilder ];
|
buildInputs = [ ocaml findlib ocamlbuild jbuilder ];
|
||||||
propagatedBuildInputs = [ result ];
|
propagatedBuildInputs = [ result ];
|
||||||
|
|
||||||
installPhase = ''
|
inherit (jbuilder) installPhase;
|
||||||
for p in *.install
|
|
||||||
do
|
|
||||||
${jbuilder.installPhase} $p
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Convert OCaml parsetrees between different major versions";
|
description = "Convert OCaml parsetrees between different major versions";
|
||||||
|
|
Loading…
Reference in a new issue