biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / ocamlmake / default.nix
bloba2071a9dfaad9aad9c9699237db9c903afedfe24
1 {stdenv, lib, fetchurl}:
3 let
5   version = "6.37.0";
6   sha256 = "99ff58080ed154cc4bd70f915fe4760dffb026a1c0447caa0b3bdb982b24b0a8";
8 in stdenv.mkDerivation {
9   pname = "ocaml-make";
10   inherit version;
12   src = fetchurl {
13     url = "https://bitbucket.org/mmottl/ocaml-makefile/downloads/ocaml-makefile-${version}.tar.gz";
14     inherit sha256;
15   };
17   installPhase = ''
18     mkdir -p "$out/include/"
19     cp OCamlMakefile "$out/include/"
20   '';
22   setupHook = ./setup-hook.sh;
24   meta = {
25     homepage = "http://www.ocaml.info/home/ocaml_sources.html";
26     description = "Generic OCaml Makefile for GNU Make";
27     license = "LGPL";
28     platforms = lib.platforms.unix;
29   };