3
0
Fork 0
forked from mirrors/nixpkgs

redshift_jdbc: init at 2.1.0.3

This commit is contained in:
Julien Debon 2022-04-26 09:53:03 +02:00
parent 258637b969
commit e5b0ba7750
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, stdenv, fetchMavenArtifact }:
stdenv.mkDerivation rec {
pname = "redshift-jdbc";
version = "2.1.0.3";
src = fetchMavenArtifact {
artifactId = "redshift-jdbc42";
groupId = "com.amazon.redshift";
sha256 = "sha256-TO/JXh/pZ7tUZGfHqkzgZx18gLnISvnPVyGavzFv6vo=";
inherit version;
};
installPhase = ''
runHook preInstall
install -m444 -D $src/share/java/redshift-jdbc42-${version}.jar $out/share/java/redshift-jdbc42.jar
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/aws/amazon-redshift-jdbc-driver/";
description =
"JDBC 4.2 driver for Amazon Redshift allowing Java programs to connect to a Redshift database";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ sir4ur0n ];
};
}

View file

@ -22281,6 +22281,8 @@ with pkgs;
postgresqlTestHook = callPackage ../build-support/setup-hooks/postgresql-test-hook { };
redshift_jdbc = callPackage ../development/java-modules/redshift_jdbc { };
prom2json = callPackage ../servers/monitoring/prometheus/prom2json.nix { };
prometheus = callPackage ../servers/monitoring/prometheus { };
prometheus-alertmanager = callPackage ../servers/monitoring/prometheus/alertmanager.nix { };