1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 18:03:22 +00:00
nixpkgs/pkgs/development/ocaml-modules/twt/default.nix

31 lines
687 B
Nix
Raw Normal View History

2015-10-04 00:17:33 +01:00
{ stdenv, fetchzip, ocaml, findlib }:
stdenv.mkDerivation {
2015-10-04 00:17:33 +01:00
name = "ocaml-twt-0.94.0";
2015-10-04 00:17:33 +01:00
src = fetchzip {
url = https://github.com/mlin/twt/archive/v0.94.0.tar.gz;
sha256 = "0298gdgzl4cifxnc1d8sbrvz1lkiq5r5ifkq1fparm6gvqywpf65";
};
buildInputs = [ ocaml findlib ];
createFindlibDestdir = true;
configurePhase = ''
mkdir $out/bin
'';
2014-09-03 11:06:58 +01: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 or [];
};
}