3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #5044 from puffnfresh/package/flow

Add Flow
This commit is contained in:
Rob Vermaas 2014-11-19 06:59:36 +01:00
commit ca6015a5b4
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, ocaml, libelf }:
stdenv.mkDerivation rec {
version = "0.1.0";
name = "flow-${version}";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v${version}";
sha256 = "1f33zmajd6agb36gp8bwj0yqihjhxnkpig9x3a4ggn369x6ixhn3";
};
installPhase = ''
mkdir -p $out/bin
cp bin/flow $out/bin/
'';
buildInputs = [ ocaml libelf ];
meta = with stdenv.lib; {
homepage = "http://flowtype.org/";
description = "A static type checker for JavaScript";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
maintainers = with maintainers; [ puffnfresh ];
};
}

View file

@ -4470,6 +4470,8 @@ let
findbugs = callPackage ../development/tools/analysis/findbugs { };
flow = callPackage ../development/tools/analysis/flow { };
pmd = callPackage ../development/tools/analysis/pmd { };
jdepend = callPackage ../development/tools/analysis/jdepend { };