2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchMavenArtifact }:
|
2017-11-20 11:24:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sqlite-jdbc";
|
2018-10-15 20:45:50 +02:00
|
|
|
version = "3.25.2";
|
2017-11-20 11:24:05 +01:00
|
|
|
|
2018-10-15 20:45:50 +02:00
|
|
|
src = fetchMavenArtifact {
|
|
|
|
groupId = "org.xerial";
|
|
|
|
artifactId = "sqlite-jdbc";
|
|
|
|
inherit version;
|
|
|
|
sha256 = "1xk5fi2wzq3jspvbdm5hvs78501i14jy3v7x6fjnh5fnpqdacpd4";
|
2017-11-20 11:24:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2019-08-15 14:41:18 +02:00
|
|
|
install -m444 -D ${src}/share/java/*${pname}-${version}.jar "$out/share/java/${pname}-${version}.jar"
|
2017-11-20 11:24:05 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-11-20 11:24:05 +01:00
|
|
|
homepage = "https://github.com/xerial/sqlite-jdbc";
|
2018-10-15 20:45:50 +02:00
|
|
|
description = "Library for accessing and creating SQLite database files in Java";
|
2017-11-20 11:24:05 +01:00
|
|
|
license = licenses.asl20;
|
2022-06-02 15:38:41 +02:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2018-10-15 20:45:50 +02:00
|
|
|
platforms = platforms.linux;
|
2017-11-20 11:24:05 +01:00
|
|
|
maintainers = with maintainers; [ jraygauthier ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|