sqlite-jdbc: 3.20.0 -> 3.25.2
This commit is contained in:
parent
989123fbec
commit
ed6e251ff0
@ -1,25 +1,28 @@
|
|||||||
{ lib, stdenv, fetchurl }:
|
{ stdenv, fetchMavenArtifact }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.20.0";
|
|
||||||
pname = "sqlite-jdbc";
|
pname = "sqlite-jdbc";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
version = "3.25.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchMavenArtifact {
|
||||||
url = "https://bitbucket.org/xerial/${pname}/downloads/${name}.jar";
|
groupId = "org.xerial";
|
||||||
sha256 = "0wxfxnq2ghiwy2mwz3rljgmy1lciafhrw80lprvqz6iw8l51qfql";
|
artifactId = "sqlite-jdbc";
|
||||||
|
inherit version;
|
||||||
|
sha256 = "1xk5fi2wzq3jspvbdm5hvs78501i14jy3v7x6fjnh5fnpqdacpd4";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D "${src}" "$out/share/java/${name}.jar"
|
install -m444 -D ${src}/share/java/*${name}.jar "$out/share/java/${name}.jar"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/xerial/sqlite-jdbc";
|
homepage = "https://github.com/xerial/sqlite-jdbc";
|
||||||
description = "SQLite JDBC Driver";
|
description = "Library for accessing and creating SQLite database files in Java";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ jraygauthier ];
|
maintainers = with maintainers; [ jraygauthier ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user