ocamlPackages.mdx: 1.8.1 → 1.10.1
This commit is contained in:
parent
15dab3835f
commit
687e5f6516
1 changed files with 6 additions and 4 deletions
|
@ -1,16 +1,16 @@
|
|||
{ lib, fetchurl, buildDunePackage, opaline, ocaml
|
||||
{ lib, fetchurl, buildDunePackage, ocaml
|
||||
, alcotest
|
||||
, astring, cmdliner, cppo, fmt, logs, ocaml-version, odoc, ocaml_lwt, re, result, csexp
|
||||
, pandoc}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mdx";
|
||||
version = "1.8.1";
|
||||
version = "1.10.1";
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/realworldocaml/mdx/releases/download/${version}/mdx-${version}.tbz";
|
||||
sha256 = "1szik1lyg2vs8jrisnvjdc29n0ifls8mghimff4jcz6f48haa3cv";
|
||||
sha256 = "10d4sfv4qk9569kj46pcaw6cih40v6bkgd44lmsp7cyfhvl8pa9x";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cppo ];
|
||||
|
@ -23,7 +23,9 @@ buildDunePackage rec {
|
|||
outputs = [ "bin" "lib" "out" ];
|
||||
|
||||
installPhase = ''
|
||||
${opaline}/bin/opaline -prefix $bin -libdir $lib/lib/ocaml/${ocaml.version}/site-lib
|
||||
runHook preInstall
|
||||
dune install --prefix=$bin --libdir=$lib/lib/ocaml/${ocaml.version}/site-lib ${pname}
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue