@@ -1,15 +1,15 @@
1−{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices }:
1+{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices, git, mercurial }:
22
33with lib;
44
55stdenv.mkDerivation rec {
6− version = "0.22.1";
6+ version = "0.28.0";
77 name = "flow-${version}";
88 src = fetchFromGitHub {
99 owner = "facebook";
1010 repo = "flow";
1111 rev = "v${version}";
12− sha256 = "11d04g8rvjv2q79pmrjjx8lmmm1ix8kih7wc0adln0ap5123ph46";
12+ sha256 = "1xryv1366zc385r82r6n832xkaqcm63zs1baizl02qchfzfa3am2";
1313 };
1414
1515 installPhase = ''
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 cp bin/flow $out/bin/
1818 '';
1919
20− buildInputs = [ ocaml libelf ]
20+ buildInputs = [ ocaml libelf git mercurial ] # git and mercurial are necessary because of https://github.com/facebook/flow/issues/1981
2121 ++ optionals stdenv.isDarwin [ cf-private CoreServices ];
2222
2323 meta = with stdenv.lib; {