ocamlPackages.omd: 1.3.1 → 1.3.2

authored by Vincent Laporte and committed by Vincent Laporte 3131757b 79abc2a4

+8 -19
+8 -19
pkgs/development/ocaml-modules/omd/default.nix
··· 1 - { stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild }: 1 + { lib, buildDunePackage, fetchurl }: 2 2 3 - stdenv.mkDerivation rec { 4 - pname = "ocaml${ocaml.version}-omd"; 5 - version = "1.3.1"; 3 + buildDunePackage rec { 4 + pname = "omd"; 5 + version = "1.3.2"; 6 + 7 + minimalOCamlVersion = "4.03"; 6 8 7 9 src = fetchurl { 8 - url = "https://github.com/Chris00/omd/releases/download/${version}/omd-${version}.tar.gz"; 9 - sha256 = "1sgdgzpx96br7npj8mh91cli5mqmzsjpngwm7x4212n3k1d0ivwa"; 10 + url = "https://github.com/ocaml/omd/releases/download/${version}/omd-${version}.tbz"; 11 + sha256 = "sha256-YCPhZCYx8I9njrVyWCCHnte7Wj/+53fN7evCjB+F+ts="; 10 12 }; 11 13 12 - nativeBuildInputs = [ ocaml findlib ocamlbuild ]; 13 - 14 - strictDeps = true; 15 - 16 - createFindlibDestdir = true; 17 - 18 - configurePhase = '' 19 - runHook preConfigure 20 - ocaml setup.ml -configure --prefix $out 21 - runHook postConfigure 22 - ''; 23 - 24 14 meta = { 25 15 description = "Extensible Markdown library and tool in OCaml"; 26 16 homepage = "https://github.com/ocaml/omd"; 27 17 license = lib.licenses.isc; 28 18 maintainers = [ lib.maintainers.vbgl ]; 29 19 mainProgram = "omd"; 30 - inherit (ocaml.meta) platforms; 31 20 }; 32 21 }