1 { lib, stdenv, fetchMavenArtifact }:
3 stdenv.mkDerivation rec {
4 pname = "redshift-jdbc";
7 src = fetchMavenArtifact {
8 artifactId = "redshift-jdbc42";
9 groupId = "com.amazon.redshift";
10 sha256 = "sha256-TO/JXh/pZ7tUZGfHqkzgZx18gLnISvnPVyGavzFv6vo=";
16 install -m444 -D $src/share/java/redshift-jdbc42-${version}.jar $out/share/java/redshift-jdbc42.jar
21 homepage = "https://github.com/aws/amazon-redshift-jdbc-driver/";
23 "JDBC 4.2 driver for Amazon Redshift allowing Java programs to connect to a Redshift database";
24 license = licenses.asl20;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ sir4ur0n ];