mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +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;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.61.0";
|
||||
version = "0.62.0";
|
||||
name = "flow-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "flow";
|
||||
rev = "v${version}";
|
||||
sha256 = "0742hcg97gw6zsvm5j30rfyj71n71pfag3vcmjdh7yamn8gpn8ga";
|
||||
sha256 = "03la72wgsh7s063h2l171h74c84haqsinnnk8fwifq3id0gq6xk1";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
@ -18,8 +19,9 @@ stdenv.mkDerivation rec {
|
||||
cp bin/flow $out/bin/
|
||||
'';
|
||||
|
||||
buildInputs = [ ocaml libelf findlib camlp4 sedlex ocamlbuild ocaml_lwt ]
|
||||
++ optionals stdenv.isDarwin [ cf-private CoreServices ];
|
||||
buildInputs = [
|
||||
ocaml libelf findlib camlp4 sedlex ocamlbuild ocaml_lwt wtf8 dtoa
|
||||
] ++ optionals stdenv.isDarwin [ cf-private CoreServices ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A static type checker for JavaScript";
|
||||
|
@ -7404,7 +7404,8 @@ with pkgs;
|
||||
flow = callPackage ../development/tools/analysis/flow {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user