snowsql: 1.2.5 -> 1.2.9
This commit is contained in:
parent
d9e6beab26
commit
f8b3bdb066
1 changed files with 5 additions and 9 deletions
|
@ -8,20 +8,17 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "snowsql";
|
pname = "snowsql";
|
||||||
version = "1.2.5";
|
majorVersion = "1.2";
|
||||||
|
version = "${majorVersion}.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/linux_x86_64/snowflake-snowsql-1.2.5-1.x86_64.rpm";
|
url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/${majorVersion}/linux_x86_64/snowflake-snowsql-${version}-1.x86_64.rpm";
|
||||||
sha256 = "c66e2044640197f4a5b5a16b89e8e7c6a816aa539004a0fb016aab185795f2d5";
|
sha256 = "1k9dyr4vyqivpg054kbvs0jdwhbqbmlp9lsyxgazdsviw8ch70c8";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ rpmextract makeWrapper ];
|
nativeBuildInputs = [ rpmextract makeWrapper ];
|
||||||
|
|
||||||
libPath =
|
libPath = stdenv.lib.makeLibraryPath [ openssl ];
|
||||||
stdenv.lib.makeLibraryPath
|
|
||||||
[
|
|
||||||
openssl
|
|
||||||
];
|
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir -p $out/bin/
|
mkdir -p $out/bin/
|
||||||
|
@ -37,7 +34,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeWrapper $out/lib64/snowflake/snowsql/snowsql $out/bin/snowsql \
|
makeWrapper $out/lib64/snowflake/snowsql/snowsql $out/bin/snowsql \
|
||||||
--set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/lib64/snowflake/snowsql \
|
--set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/lib64/snowflake/snowsql \
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue