about summary refs log tree commit diff
path: root/pkgs/development/tools/pyre
diff options
context:
space:
mode:
authorTom Hunger <tehunger@gmail.com>2019-03-31 15:22:43 +0100
committerTom Hunger <tehunger@gmail.com>2019-04-09 22:20:00 +0100
commite6ebd0553c6c082aab41232c3770a9428c3c0789 (patch)
tree693a822b5126b4726752112c11058045490bb06c /pkgs/development/tools/pyre
parentefc0fc165fe14db12abef2cc1c1c63ec466f704a (diff)
downloadnixlib-e6ebd0553c6c082aab41232c3770a9428c3c0789.tar
nixlib-e6ebd0553c6c082aab41232c3770a9428c3c0789.tar.gz
nixlib-e6ebd0553c6c082aab41232c3770a9428c3c0789.tar.bz2
nixlib-e6ebd0553c6c082aab41232c3770a9428c3c0789.tar.lz
nixlib-e6ebd0553c6c082aab41232c3770a9428c3c0789.tar.xz
nixlib-e6ebd0553c6c082aab41232c3770a9428c3c0789.tar.zst
nixlib-e6ebd0553c6c082aab41232c3770a9428c3c0789.zip
pyre: 0.0.20 -> 0.0.22
Diffstat (limited to 'pkgs/development/tools/pyre')
-rw-r--r--pkgs/development/tools/pyre/default.nix19
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/development/tools/pyre/default.nix b/pkgs/development/tools/pyre/default.nix
index 7ae95679482f..b5dfe3c8bfd9 100644
--- a/pkgs/development/tools/pyre/default.nix
+++ b/pkgs/development/tools/pyre/default.nix
@@ -1,14 +1,14 @@
 { stdenv, fetchFromGitHub, ocamlPackages, writeScript
-, dune, python3, rsync, buck, watchman }:
+, dune, python3, rsync, buck, watchman, sqlite }:
 let
   # Manually set version - the setup script requires
   # hg and git + keeping the .git directory around.
-  pyre-version = "0.0.20";  # also change typeshed revision below with $pyre-src/.typeshed-version
+  pyre-version = "0.0.22";  # also change typeshed revision below with $pyre-src/.typeshed-version
   pyre-src = fetchFromGitHub {
     owner = "facebook";
     repo = "pyre-check";
     rev = "v${pyre-version}";
-    sha256 = "1alkhdhvmigdhxvvarh0lr5s3b1s6q4arykip2dqb62vs8064s17";
+    sha256 = "057vy6zmgwsi0ag9n4m6sszhahmfk2s1ywm36nyfs7w4d0wnk92s";
   };
   versionFile = writeScript "version.ml" ''
     cat > "./version.ml" <<EOF
@@ -41,6 +41,8 @@ let
     ppxlib
     dune
     ounit
+    base64
+    sqlite.dev
     # python36Packages.python36Full # TODO
   ];
 
@@ -115,7 +117,16 @@ in python3.pkgs.buildPythonApplication rec {
 
   buildInputs = [ pyre-bin ];
   nativeBuildInputs = [ rsync ]; # only required for build-pypi-package.sh
-  propagatedBuildInputs = with python3.pkgs; [ docutils typeshed ];
+  propagatedBuildInputs = with python3.pkgs; [
+    docutils
+    typeshed
+    click-log
+    ipython
+    sqlalchemy
+    munch
+    xxhash
+    ujson
+  ];
   buildPhase = ''
     bash scripts/build-pypi-package.sh --version ${pyre-version} --bundle-typeshed ${typeshed}
     cp -r build/dist dist