12 stdenv.mkDerivation rec {
17 url = "https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/${lib.versions.majorMinor version}/linux_x86_64/snowflake-snowsql-${version}-1.x86_64.rpm";
18 sha256 = "sha256-KKCCj+pIwWhuzOuxljQ8Y11mAwD/GONspbXuPAMBdhE=";
26 libPath = lib.makeLibraryPath [
39 ${patchelf}/bin/patchelf \
40 --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
41 lib64/snowflake/snowsql/snowsql
43 makeWrapper $out/lib64/snowflake/snowsql/snowsql $out/bin/snowsql \
44 --set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/lib64/snowflake/snowsql \
48 description = "Command line client for the Snowflake database";
49 homepage = "https://www.snowflake.com";
50 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
51 license = licenses.unfree;
52 maintainers = with maintainers; [ andehen ];
53 platforms = [ "x86_64-linux" ];
54 mainProgram = "snowsql";