flow: 0.22.1 -> 0.28.0 (#16827)

authored by Danny Arnold and committed by Robin Gloster 42c91dd1 81810c66

+4 -4
+4 -4
pkgs/development/tools/analysis/flow/default.nix
··· 1 - { stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices }: 2 3 with lib; 4 5 stdenv.mkDerivation rec { 6 - version = "0.22.1"; 7 name = "flow-${version}"; 8 src = fetchFromGitHub { 9 owner = "facebook"; 10 repo = "flow"; 11 rev = "v${version}"; 12 - sha256 = "11d04g8rvjv2q79pmrjjx8lmmm1ix8kih7wc0adln0ap5123ph46"; 13 }; 14 15 installPhase = '' ··· 17 cp bin/flow $out/bin/ 18 ''; 19 20 - buildInputs = [ ocaml libelf ] 21 ++ optionals stdenv.isDarwin [ cf-private CoreServices ]; 22 23 meta = with stdenv.lib; {
··· 1 + { stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices, git, mercurial }: 2 3 with lib; 4 5 stdenv.mkDerivation rec { 6 + version = "0.28.0"; 7 name = "flow-${version}"; 8 src = fetchFromGitHub { 9 owner = "facebook"; 10 repo = "flow"; 11 rev = "v${version}"; 12 + sha256 = "1xryv1366zc385r82r6n832xkaqcm63zs1baizl02qchfzfa3am2"; 13 }; 14 15 installPhase = '' ··· 17 cp bin/flow $out/bin/ 18 ''; 19 20 + buildInputs = [ ocaml libelf git mercurial ] # git and mercurial are necessary because of https://github.com/facebook/flow/issues/1981 21 ++ optionals stdenv.isDarwin [ cf-private CoreServices ]; 22 23 meta = with stdenv.lib; {