mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #48474 from c0bw3b/pkg/pgjdbc
postgresql-jdbc: 42.2.2 -> 42.2.5
This commit is contained in:
commit
af496bade8
@ -2,25 +2,25 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "postgresql-jdbc-${version}";
|
||||
version = "42.2.2";
|
||||
version = "42.2.5";
|
||||
|
||||
src = fetchMavenArtifact {
|
||||
artifactId = "postgresql";
|
||||
groupId = "org.postgresql";
|
||||
sha256 = "0w7sfi1gmzqhyhr4iq9znv8hff41xwwqcblkyd9ph0m34r0555hr";
|
||||
sha256 = "1p0cbb7ka41xxipzjy81hmcndkqynav22xyipkg7qdqrqvw4dykz";
|
||||
inherit version;
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
install -D $src/share/java/*_postgresql-${version}.jar $out/share/java/postgresql-jdbc.jar
|
||||
install -m444 -D $src/share/java/*postgresql-${version}.jar $out/share/java/postgresql-jdbc.jar
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://jdbc.postgresql.org/;
|
||||
description = "JDBC driver for PostgreSQL allowing Java programs to connect to a PostgreSQL database";
|
||||
license = licenses.bsd3;
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user