@@ -0,0 +1,27 @@
1+{ stdenv, fetchFromGitHub, ocaml, libelf }:
3+stdenv.mkDerivation rec {
5+ name = "flow-${version}";
6+ src = fetchFromGitHub {
10+ sha256 = "1f33zmajd6agb36gp8bwj0yqihjhxnkpig9x3a4ggn369x6ixhn3";
15+ cp bin/flow $out/bin/
18+ buildInputs = [ ocaml libelf ];
20+ meta = with stdenv.lib; {
21+ homepage = "http://flowtype.org/";
22+ description = "A static type checker for JavaScript";
23+ license = stdenv.lib.licenses.bsd3;
24+ platforms = stdenv.lib.platforms.unix;
25+ maintainers = with maintainers; [ puffnfresh ];