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