summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorBrandon Elam Barker <brandon.barker@gmail.com>2018-07-29 19:29:29 +0000
committerxeji <36407913+xeji@users.noreply.github.com>2018-07-29 21:29:29 +0200
commite75a95d59c40af8f77145863dce2367a9e5e29b3 (patch)
treefabc0a951cb7d9570dc717770cb80af4c172fd82 /pkgs/development/tools
parent233b28285f7e80b94ec8b8f7222da74605c99981 (diff)
downloadnixpkgs-e75a95d59c40af8f77145863dce2367a9e5e29b3.tar
nixpkgs-e75a95d59c40af8f77145863dce2367a9e5e29b3.tar.gz
nixpkgs-e75a95d59c40af8f77145863dce2367a9e5e29b3.tar.bz2
nixpkgs-e75a95d59c40af8f77145863dce2367a9e5e29b3.tar.lz
nixpkgs-e75a95d59c40af8f77145863dce2367a9e5e29b3.tar.xz
nixpkgs-e75a95d59c40af8f77145863dce2367a9e5e29b3.tar.zst
nixpkgs-e75a95d59c40af8f77145863dce2367a9e5e29b3.zip
pyre: 0.0.8 -> 0.0.10 (#44023)
renamed pyre to pyre.bin; see upstream issue at:
https://github.com/facebook/pyre-check/issues/79#issuecomment-407150170
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/pyre/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/tools/pyre/default.nix b/pkgs/development/tools/pyre/default.nix
index 7cbfc438504..1d7f8025bb0 100644
--- a/pkgs/development/tools/pyre/default.nix
+++ b/pkgs/development/tools/pyre/default.nix
@@ -2,7 +2,7 @@
 let
   # Manually set version - the setup script requires
   # hg and git + keeping the .git directory around.
-  version = "0.0.8";
+  version = "0.0.10";
   versionFile = writeScript "version.ml" ''
     cat > "./version.ml" <<EOF
     let build_info () =
@@ -18,7 +18,7 @@ in stdenv.mkDerivation {
     owner = "facebook";
     repo = "pyre-check";
     rev = "v${version}";
-    sha256 = "0c4km27xnzsqcqvjqxmqak37x473z6azlbldy7f05ghkms7mchrw";
+    sha256 = "17fk2izq434jsr8dfz828754356qdwa6zv0lbzm6z1kgq4jg7brv";
   };
 
   nativeBuildInputs = [ makeWrapper ];
@@ -33,6 +33,7 @@ in stdenv.mkDerivation {
     ppx_deriving_yojson
     ocamlbuild
     ppxlib
+    # python36Packages.python36Full # TODO
   ];
 
   buildPhase = ''
@@ -52,13 +53,14 @@ in stdenv.mkDerivation {
 
   checkPhase = ''
     make test
+    # ./scripts/run-python-tests.sh # TODO: once typeshed and python bits are added
   '';
 
   # Note that we're not installing the typeshed yet.
   # Improvement for a future version.
   installPhase = ''
     mkdir -p $out/bin
-    cp _build/all/main.native $out/bin/pyre
+    cp _build/all/main.native $out/bin/pyre.bin
   '';
 
   meta = with stdenv.lib; {