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