flow 0.217.0 -> 0.217.2 https://github.com/facebook/flow/releases
attrpath: flow
Checking auto update branch...
No auto update branch exists
[version]
[version] updated version and sha256
[rustCrateVersion]
[rustCrateVersion] No cargoSha256 or cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] skipping because derivation has no updateScript
[quotedUrls]
[quotedUrls] nothing found to replace
Diff after rewrites:
diff --git a/pkgs/development/tools/analysis/flow/default.nix b/pkgs/development/tools/analysis/flow/default.nix
index 8aa6e7e07446..47b28f3b019c 100644
--- a/pkgs/development/tools/analysis/flow/default.nix
+++ b/pkgs/development/tools/analysis/flow/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "flow";
- version = "0.217.0";
+ version = "0.217.2";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v${version}";
- sha256 = "sha256-QMgxic8fx7/Beahu8xyE247syLWgq1LZb3I5UdZp2XM=";
+ sha256 = "sha256-0Zu4uPxNDUUeyOLrjdQaCdiRbngtCtHx1qIqtLBmCdA=";
};
postPatch = ''
Successfully finished processing
cachix "/nix/store/xbygch21dbkv37k03biszq3rvz2k772j-flow-0.217.2"
[check][nixpkgs-review]
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from https://github.com/facebook/flow/releases.
meta.description for flow is: A static type checker for JavaScript
meta.homepage for flow is: https://flow.org/
meta.changelog for flow is: https://github.com/facebook/flow/blob/v0.217.2/Changelog.md
###### Updates performed
- Version update
###### To inspect upstream changes
- [Compare changes on GitHub](https://github.com/facebook/flow/compare/v0.217.0...v0.217.2)
###### Impact
Checks done (click to expand)
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 0.217.2 with grep in /nix/store/xbygch21dbkv37k03biszq3rvz2k772j-flow-0.217.2
- found 0.217.2 in filename of file in /nix/store/xbygch21dbkv37k03biszq3rvz2k772j-flow-0.217.2
---
Rebuild report (if merged into master) (click to expand)
```
1 total rebuild path(s)
1 package rebuild(s)
First fifty rebuilds by attrpath
flow
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/xbygch21dbkv37k03biszq3rvz2k772j-flow-0.217.2 \
--option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
--option trusted-public-keys '
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A flow https://github.com/r-ryantm/nixpkgs/archive/8a28376b6952e8111f1ced9732aab2a53ff33416.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/8a28376b6952e8111f1ced9732aab2a53ff33416#flow
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/xbygch21dbkv37k03biszq3rvz2k772j-flow-0.217.2
ls -la /nix/store/xbygch21dbkv37k03biszq3rvz2k772j-flow-0.217.2/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
---
###### Maintainer pings
cc @marsam @puffnfresh for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
https://api.github.com/repos/NixOS/nixpkgs/pulls/258307
flow 0.217.0 -> 0.217.2 https://repology.org/project/flow-javascript-type-checker/versions
attrpath: flow
Checking auto update branch...
No auto update branch exists
Old version 0.217.0" not present in master derivation file with contents: { lib, stdenv, fetchFromGitHub, ocamlPackages, CoreServices }:
stdenv.mkDerivation rec {
pname = "flow";
version = "0.217.2";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v${version}";
sha256 = "sha256-0Zu4uPxNDUUeyOLrjdQaCdiRbngtCtHx1qIqtLBmCdA=";
};
postPatch = ''
substituteInPlace src/services/inference/check_cache.ml --replace 'Core_kernel' 'Core'
'';
makeFlags = [ "FLOW_RELEASE=1" ];
installPhase = ''
install -Dm755 bin/flow $out/bin/flow
install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow
'';
strictDeps = true;
nativeBuildInputs = with ocamlPackages; [ ocaml dune_3 findlib ocamlbuild ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]
++ (with ocamlPackages; [ core_kernel dtoa fileutils lwt_log lwt_ppx ocaml_lwt ppx_deriving ppx_gen_rec ppx_let sedlex visitors wtf8 ] ++ lib.optionals stdenv.isLinux [ inotify ]);
meta = with lib; {
description = "A static type checker for JavaScript";
homepage = "https://flow.org/";
changelog = "https://github.com/facebook/flow/blob/v${version}/Changelog.md";
license = licenses.mit;
platforms = ocamlPackages.ocaml.meta.platforms;
maintainers = with maintainers; [ marsam puffnfresh ];
};
}