flow: 0.22.1 -> 0.28.0 (#16827)
This commit is contained in:
parent
81810c664b
commit
42c91dd1d8
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices }:
|
{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices, git, mercurial }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.22.1";
|
version = "0.28.0";
|
||||||
name = "flow-${version}";
|
name = "flow-${version}";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "facebook";
|
owner = "facebook";
|
||||||
repo = "flow";
|
repo = "flow";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "11d04g8rvjv2q79pmrjjx8lmmm1ix8kih7wc0adln0ap5123ph46";
|
sha256 = "1xryv1366zc385r82r6n832xkaqcm63zs1baizl02qchfzfa3am2";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
cp bin/flow $out/bin/
|
cp bin/flow $out/bin/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ ocaml libelf ]
|
buildInputs = [ ocaml libelf git mercurial ] # git and mercurial are necessary because of https://github.com/facebook/flow/issues/1981
|
||||||
++ optionals stdenv.isDarwin [ cf-private CoreServices ];
|
++ optionals stdenv.isDarwin [ cf-private CoreServices ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user