2021-01-11 04:49:15 -08:00
|
|
|
{stdenv, lib, fetchurl}:
|
2012-01-16 02:20:13 -08:00
|
|
|
|
2012-02-29 04:51:06 -08:00
|
|
|
let
|
|
|
|
|
2012-07-30 15:40:41 -07:00
|
|
|
version = "6.37.0";
|
|
|
|
sha256 = "99ff58080ed154cc4bd70f915fe4760dffb026a1c0447caa0b3bdb982b24b0a8";
|
2012-02-29 04:51:06 -08:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 14:52:01 -07:00
|
|
|
pname = "ocaml-make";
|
|
|
|
inherit version;
|
2012-01-16 02:20:13 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-22 01:14:28 -07:00
|
|
|
url = "https://bitbucket.org/mmottl/ocaml-makefile/downloads/ocaml-makefile-${version}.tar.gz";
|
2012-02-29 04:51:06 -08:00
|
|
|
inherit sha256;
|
2012-01-16 02:20:13 -08:00
|
|
|
};
|
|
|
|
|
2012-02-29 04:51:06 -08:00
|
|
|
installPhase = ''
|
2014-06-30 05:56:10 -07:00
|
|
|
mkdir -p "$out/include/"
|
2012-02-29 04:51:06 -08:00
|
|
|
cp OCamlMakefile "$out/include/"
|
|
|
|
'';
|
2012-01-16 02:20:13 -08:00
|
|
|
|
2012-02-29 04:51:06 -08:00
|
|
|
setupHook = ./setup-hook.sh;
|
2012-01-16 02:20:13 -08:00
|
|
|
|
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.ocaml.info/home/ocaml_sources.html";
|
2012-01-16 02:20:13 -08:00
|
|
|
description = "Generic OCaml Makefile for GNU Make";
|
|
|
|
license = "LGPL";
|
2021-01-11 04:49:15 -08:00
|
|
|
platforms = lib.platforms.unix;
|
2012-01-16 02:20:13 -08:00
|
|
|
};
|
|
|
|
}
|