depot/third_party/nixpkgs/pkgs/servers/sql/sqlite/jdbc/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

27 lines
779 B
Nix

{ lib, stdenv, fetchMavenArtifact }:
stdenv.mkDerivation rec {
pname = "sqlite-jdbc";
version = "3.25.2";
src = fetchMavenArtifact {
groupId = "org.xerial";
artifactId = "sqlite-jdbc";
inherit version;
sha256 = "1xk5fi2wzq3jspvbdm5hvs78501i14jy3v7x6fjnh5fnpqdacpd4";
};
installPhase = ''
install -m444 -D ${src}/share/java/*${pname}-${version}.jar "$out/share/java/${pname}-${version}.jar"
'';
meta = with lib; {
homepage = "https://github.com/xerial/sqlite-jdbc";
description = "Library for accessing and creating SQLite database files in Java";
license = licenses.asl20;
sourceProvenance = with sourceTypes; [ binaryBytecode ];
platforms = platforms.linux;
maintainers = with maintainers; [ jraygauthier ];
};
}