Skip to content

Commit 3f057db

Browse files
jraygauthierMic92
authored andcommittedNov 20, 2017
sqlite-jdbc: init at 3.20.0 (#31816)
1 parent 5397393 commit 3f057db

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
 
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{ lib, stdenv, fetchurl }:
2+
3+
stdenv.mkDerivation rec {
4+
version = "3.20.0";
5+
pname = "sqlite-jdbc";
6+
name = "${pname}-${version}";
7+
8+
src = fetchurl {
9+
url = "https://bitbucket.org/xerial/${pname}/downloads/${name}.jar";
10+
sha256 = "0wxfxnq2ghiwy2mwz3rljgmy1lciafhrw80lprvqz6iw8l51qfql";
11+
};
12+
13+
phases = [ "installPhase" ];
14+
15+
installPhase = ''
16+
install -D "${src}" "$out/share/java/${name}.jar"
17+
'';
18+
19+
meta = with lib; {
20+
homepage = "https://github.com/xerial/sqlite-jdbc";
21+
description = "SQLite JDBC Driver";
22+
license = licenses.asl20;
23+
maintainers = with maintainers; [ jraygauthier ];
24+
};
25+
}
26+

‎pkgs/top-level/all-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -10742,6 +10742,8 @@ with pkgs;
1074210742

1074310743
sqlite-interactive = appendToName "interactive" (sqlite.override { interactive = true; }).bin;
1074410744

10745+
sqlite-jdbc = callPackage ../servers/sql/sqlite/jdbc { };
10746+
1074510747
sqlcipher = lowPrio (callPackage ../development/libraries/sqlcipher {
1074610748
readline = null;
1074710749
ncurses = null;

0 commit comments

Comments
 (0)
Please sign in to comment.