snowsql: 1.2.5 -> 1.2.9

This commit is contained in:
Pavol Rusnak 2020-08-26 15:16:12 +02:00
parent d9e6beab26
commit f8b3bdb066
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -8,20 +8,17 @@
stdenv.mkDerivation rec {
pname = "snowsql";
version = "1.2.5";
majorVersion = "1.2";
version = "${majorVersion}.9";
src = fetchurl {
url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/linux_x86_64/snowflake-snowsql-1.2.5-1.x86_64.rpm";
sha256 = "c66e2044640197f4a5b5a16b89e8e7c6a816aa539004a0fb016aab185795f2d5";
url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/${majorVersion}/linux_x86_64/snowflake-snowsql-${version}-1.x86_64.rpm";
sha256 = "1k9dyr4vyqivpg054kbvs0jdwhbqbmlp9lsyxgazdsviw8ch70c8";
};
nativeBuildInputs = [ rpmextract makeWrapper ];
libPath =
stdenv.lib.makeLibraryPath
[
openssl
];
libPath = stdenv.lib.makeLibraryPath [ openssl ];
buildCommand = ''
mkdir -p $out/bin/
@ -37,7 +34,6 @@ stdenv.mkDerivation rec {
makeWrapper $out/lib64/snowflake/snowsql/snowsql $out/bin/snowsql \
--set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/lib64/snowflake/snowsql \
'';
meta = with stdenv.lib; {