at 18.09-beta 26 lines 733 B view raw
1{ stdenv, fetchFromGitHub, ocaml, findlib, ocaml-migrate-parsetree }: 2 3stdenv.mkDerivation rec { 4 name = "ocaml${ocaml.version}-ppx_tools_versioned-${version}"; 5 version = "5.1"; 6 7 src = fetchFromGitHub { 8 owner = "let-def"; 9 repo = "ppx_tools_versioned"; 10 rev = version; 11 sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624"; 12 }; 13 14 buildInputs = [ ocaml findlib ]; 15 16 propagatedBuildInputs = [ ocaml-migrate-parsetree ]; 17 18 createFindlibDestdir = true; 19 20 meta = with stdenv.lib; { 21 homepage = https://github.com/let-def/ppx_tools_versioned; 22 description = "Tools for authors of syntactic tools (such as ppx rewriters)"; 23 license = licenses.gpl2; 24 maintainers = [ maintainers.volth ]; 25 }; 26}