mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
flow: 0.61.0 -> 0.62.0
This commit is contained in:
parent
671fb2d2d7
commit
8d03bcad73
@ -1,16 +1,17 @@
|
|||||||
{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices, findlib, camlp4, sedlex, ocamlbuild, ocaml_lwt }:
|
{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices,
|
||||||
|
findlib, camlp4, sedlex, ocamlbuild, ocaml_lwt, wtf8, dtoa }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.61.0";
|
version = "0.62.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 = "0742hcg97gw6zsvm5j30rfyj71n71pfag3vcmjdh7yamn8gpn8ga";
|
sha256 = "03la72wgsh7s063h2l171h74c84haqsinnnk8fwifq3id0gq6xk1";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -18,8 +19,9 @@ stdenv.mkDerivation rec {
|
|||||||
cp bin/flow $out/bin/
|
cp bin/flow $out/bin/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ ocaml libelf findlib camlp4 sedlex ocamlbuild ocaml_lwt ]
|
buildInputs = [
|
||||||
++ optionals stdenv.isDarwin [ cf-private CoreServices ];
|
ocaml libelf findlib camlp4 sedlex ocamlbuild ocaml_lwt wtf8 dtoa
|
||||||
|
] ++ optionals stdenv.isDarwin [ cf-private CoreServices ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A static type checker for JavaScript";
|
description = "A static type checker for JavaScript";
|
||||||
|
@ -7404,7 +7404,8 @@ with pkgs;
|
|||||||
flow = callPackage ../development/tools/analysis/flow {
|
flow = callPackage ../development/tools/analysis/flow {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||||
inherit (darwin) cf-private;
|
inherit (darwin) cf-private;
|
||||||
inherit (ocamlPackages) ocaml findlib camlp4 sedlex ocamlbuild ocaml_lwt;
|
inherit (ocamlPackages) ocaml findlib camlp4 sedlex ocamlbuild ocaml_lwt
|
||||||
|
wtf8 dtoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
framac = callPackage ../development/tools/analysis/frama-c { };
|
framac = callPackage ../development/tools/analysis/frama-c { };
|
||||||
|
Loading…
Reference in New Issue
Block a user