snowsql: 1.2.23 -> 1.2.26 (#230504)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Phillip Cloud 2023-05-08 07:35:37 -07:00 committed by GitHub
parent 2e5e7f62f4
commit 4b7bda4937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,22 +5,21 @@
, patchelf
, makeWrapper
, openssl
, libxcrypt
, libxcrypt-legacy
}:
stdenv.mkDerivation rec {
pname = "snowsql";
majorVersion = "1.2";
version = "${majorVersion}.23";
version = "1.2.26";
src = fetchurl {
url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/${majorVersion}/linux_x86_64/snowflake-snowsql-${version}-1.x86_64.rpm";
sha256 = "16zx30l3g5i5ndgxsqlkmkrfzswbczpb3jcya3psq5170i8cfm8f";
url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/${lib.versions.majorMinor version}/linux_x86_64/snowflake-snowsql-${version}-1.x86_64.rpm";
sha256 = "sha256-V0TZebmhc463DczQuTDy0nZQX+io61z/m32/n/EKFJY=";
};
nativeBuildInputs = [ rpmextract makeWrapper ];
libPath = lib.makeLibraryPath [ openssl libxcrypt ];
libPath = lib.makeLibraryPath [ openssl libxcrypt-legacy ];
buildCommand = ''
mkdir -p $out/bin/