Merge pull request #161914 from jyooru/update/snowsql

snowsql: 1.2.9 -> 1.2.21
This commit is contained in:
Bobby Rong 2022-03-07 21:24:12 +08:00 committed by GitHub
commit 1d2c3ee4a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, fetchurl
, rpmextract
, patchelf
@ -9,11 +10,11 @@
stdenv.mkDerivation rec {
pname = "snowsql";
majorVersion = "1.2";
version = "${majorVersion}.9";
version = "${majorVersion}.21";
src = fetchurl {
url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/${majorVersion}/linux_x86_64/snowflake-snowsql-${version}-1.x86_64.rpm";
sha256 = "1k9dyr4vyqivpg054kbvs0jdwhbqbmlp9lsyxgazdsviw8ch70c8";
sha256 = "10pzxqk71amvaz951jl666ia6v0z22bgpvr108l3q62950hhhwmn";
};
nativeBuildInputs = [ rpmextract makeWrapper ];