3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/omd/default.nix
sternenseemann 4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00

24 lines
687 B
Nix

{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild }:
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-omd-1.3.1";
src = fetchurl {
url = "https://github.com/Chris00/omd/releases/download/1.3.1/omd-1.3.1.tar.gz";
sha256 = "1sgdgzpx96br7npj8mh91cli5mqmzsjpngwm7x4212n3k1d0ivwa";
};
buildInputs = [ ocaml findlib ocamlbuild ];
createFindlibDestdir = true;
configurePhase = "ocaml setup.ml -configure --prefix $out";
meta = {
description = "Extensible Markdown library and tool in OCaml";
homepage = "https://github.com/ocaml/omd";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}