2014-08-21 14:24:43 +01:00
|
|
|
{stdenv, fetchurl, ocaml, findlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-10-08 19:44:22 +01:00
|
|
|
name = "ocaml-twt-0.93.2";
|
2014-08-21 14:24:43 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-10-08 19:44:22 +01:00
|
|
|
url = https://github.com/mlin/twt/archive/v0.93.2.tar.gz;
|
|
|
|
sha256 = "aec091fbd1e6c4d252cf9664237418b4bc8c7d6b7a17475589be78365397e768";
|
2014-08-21 14:24:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
mkdir $out/bin
|
|
|
|
'';
|
|
|
|
|
2014-09-03 11:06:58 +01:00
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installFlags = "PREFIX=$(out)";
|
2014-08-21 14:24:43 +01:00
|
|
|
|
2014-09-21 11:02:55 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-21 14:24:43 +01:00
|
|
|
homepage = http://people.csail.mit.edu/mikelin/ocaml+twt/;
|
|
|
|
description = "“The Whitespace Thing” for OCaml";
|
2014-09-21 11:02:55 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2014-08-21 14:24:43 +01:00
|
|
|
platforms = ocaml.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|