git.iko.soy/typeable/nixpkgs
on master help sign in
defaultGemConfig.pg_query: 2.0.1 -> 2.0.2

pg_query 2.0.2 apparently has working ARM support. This change also re-locks sqlint to use the newer version, and generalises the platform spec to avoid being unnecessarily restrictive. As before, other packages which refer to pg_query are unaffected, because they pin an older version of pg_query which is handled separately in the gem-config expressions. Follow-up to #116785

commitdde94e3d8322f9f5b24c9f01321f08e64b3c50a9 authorSteve Purcell <steve@sanityinc.com> dateFri 2 Apr 2021, 17:50 (6 years ago) parentb092bdc
4 files changed+7−7
pkgs/development/ruby-modules/gem-config/default.nix+3−3 pkgs/development/tools/sqlint/Gemfile.lock+1−1 pkgs/development/tools/sqlint/default.nix+1−1 pkgs/development/tools/sqlint/gemset.nix+2−2
pkgs/development/ruby-modules/gem-config/default.nix+3−3
@@ -211,12 +211,12 @@ in
211211 '';
212212 };
213213
214− pg_query = attrs: lib.optionalAttrs (attrs.version == "2.0.1") {
214+ pg_query = attrs: lib.optionalAttrs (attrs.version == "2.0.2") {
215215 dontBuild = false;
216216 postPatch = ''
217217 sed -i "s;'https://codeload.github.com.*';'${fetchurl {
218− url = "https://codeload.github.com/lfittl/libpg_query/tar.gz/13-2.0.0";
219− sha256 = "0ghk0dlmrn634p3zjr41fy4ipgw8i44f67a4l8cspqg0395m3rp5";
218+ url = "https://codeload.github.com/lfittl/libpg_query/tar.gz/13-2.0.2";
219+ sha256 = "0ms2s6hmy8qyzv4g1hj4i2p5fws1v8lrj73b2knwbp2ipd45yj7y";
220220 }}';" ext/pg_query/extconf.rb
221221 '';
222222 } // lib.optionalAttrs (attrs.version == "1.3.0") {
pkgs/development/tools/sqlint/Gemfile.lock+1−1
@@ -2,7 +2,7 @@ GEM
22 remote: https://rubygems.org/
33 specs:
44 google-protobuf (3.15.6)
5− pg_query (2.0.1)
5+ pg_query (2.0.2)
66 google-protobuf (~> 3.15.5)
77 sqlint (0.2.0)
88 pg_query (~> 2)
pkgs/development/tools/sqlint/default.nix+1−1
@@ -13,6 +13,6 @@ bundlerApp {
1313 homepage = "https://github.com/purcell/sqlint";
1414 license = licenses.mit;
1515 maintainers = with maintainers; [ ariutta nicknovitski purcell ];
16− platforms = with platforms; [ "x86_64-linux" "x86_64-darwin" ];
16+ platforms = platforms.unix;
1717 };
1818}
pkgs/development/tools/sqlint/gemset.nix+2−2
@@ -15,10 +15,10 @@
1515 platforms = [];
1616 source = {
1717 remotes = ["https://rubygems.org"];
18− sha256 = "01a8asbgkr7f1gp50ikzr1zzmvwv50da389943hrrqzxwd202268";
18+ sha256 = "0bvn0swyzzhl9x8hlgaz7m7s1jqmpdi2c4klarix0hiyapy2il9y";
1919 type = "gem";
2020 };
21− version = "2.0.1";
21+ version = "2.0.2";
2222 };
2323 sqlint = {
2424 dependencies = ["pg_query"];