nixpkgs/pkgs/development/ocaml-modules/twt/default.nix

31 lines
678 B
Nix
Raw Normal View History

{stdenv, fetchurl, ocaml, findlib }:
stdenv.mkDerivation {
name = "ocaml-twt-0.931";
src = fetchurl {
url = https://github.com/mlin/twt/archive/v0.931.tar.gz;
sha256 = "0hbd4zzjwbzlhv6vcn27al236l0d0mg0jfknywdidxdxwnmd3aj2";
};
buildInputs = [ ocaml findlib ];
createFindlibDestdir = true;
configurePhase = ''
mkdir $out/bin
'';
2014-09-03 10:06:58 +00:00
dontBuild = true;
installFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
homepage = http://people.csail.mit.edu/mikelin/ocaml+twt/;
description = "The Whitespace Thing for OCaml";
license = licenses.mit;
maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms;
};
}