ocamlPackages.omd: 1.3.1 → 1.3.2
This commit is contained in:
parent
79abc2a487
commit
3131757b9f
|
@ -1,32 +1,21 @@
|
||||||
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild }:
|
{ lib, buildDunePackage, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
buildDunePackage rec {
|
||||||
pname = "ocaml${ocaml.version}-omd";
|
pname = "omd";
|
||||||
version = "1.3.1";
|
version = "1.3.2";
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.03";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Chris00/omd/releases/download/${version}/omd-${version}.tar.gz";
|
url = "https://github.com/ocaml/omd/releases/download/${version}/omd-${version}.tbz";
|
||||||
sha256 = "1sgdgzpx96br7npj8mh91cli5mqmzsjpngwm7x4212n3k1d0ivwa";
|
sha256 = "sha256-YCPhZCYx8I9njrVyWCCHnte7Wj/+53fN7evCjB+F+ts=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
|
|
||||||
|
|
||||||
strictDeps = true;
|
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
ocaml setup.ml -configure --prefix $out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Extensible Markdown library and tool in OCaml";
|
description = "Extensible Markdown library and tool in OCaml";
|
||||||
homepage = "https://github.com/ocaml/omd";
|
homepage = "https://github.com/ocaml/omd";
|
||||||
license = lib.licenses.isc;
|
license = lib.licenses.isc;
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
mainProgram = "omd";
|
mainProgram = "omd";
|
||||||
inherit (ocaml.meta) platforms;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue