Merge pull request #118296 from purcell/ruby-pg_query-2.0.2

defaultGemConfig.pg_query: 2.0.1 -> 2.0.2
This commit is contained in:
Sandro 2021-04-03 02:14:47 +02:00 committed by GitHub
commit 11910695f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -211,12 +211,12 @@ in
'';
};
pg_query = attrs: lib.optionalAttrs (attrs.version == "2.0.1") {
pg_query = attrs: lib.optionalAttrs (attrs.version == "2.0.2") {
dontBuild = false;
postPatch = ''
sed -i "s;'https://codeload.github.com.*';'${fetchurl {
url = "https://codeload.github.com/lfittl/libpg_query/tar.gz/13-2.0.0";
sha256 = "0ghk0dlmrn634p3zjr41fy4ipgw8i44f67a4l8cspqg0395m3rp5";
url = "https://codeload.github.com/lfittl/libpg_query/tar.gz/13-2.0.2";
sha256 = "0ms2s6hmy8qyzv4g1hj4i2p5fws1v8lrj73b2knwbp2ipd45yj7y";
}}';" ext/pg_query/extconf.rb
'';
} // lib.optionalAttrs (attrs.version == "1.3.0") {

View File

@ -2,7 +2,7 @@ GEM
remote: https://rubygems.org/
specs:
google-protobuf (3.15.6)
pg_query (2.0.1)
pg_query (2.0.2)
google-protobuf (~> 3.15.5)
sqlint (0.2.0)
pg_query (~> 2)

View File

@ -13,6 +13,6 @@ bundlerApp {
homepage = "https://github.com/purcell/sqlint";
license = licenses.mit;
maintainers = with maintainers; [ ariutta nicknovitski purcell ];
platforms = with platforms; [ "x86_64-linux" "x86_64-darwin" ];
platforms = platforms.unix;
};
}

View File

@ -15,10 +15,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "01a8asbgkr7f1gp50ikzr1zzmvwv50da389943hrrqzxwd202268";
sha256 = "0bvn0swyzzhl9x8hlgaz7m7s1jqmpdi2c4klarix0hiyapy2il9y";
type = "gem";
};
version = "2.0.1";
version = "2.0.2";
};
sqlint = {
dependencies = ["pg_query"];