Skip to content

Commit

Permalink
sqlite-jdbc: init at 3.20.0 (#31816)
Browse files Browse the repository at this point in the history
  • Loading branch information
jraygauthier authored and Mic92 committed Nov 20, 2017
1 parent 5397393 commit 3f057db
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/servers/sql/sqlite/jdbc/default.nix
@@ -0,0 +1,26 @@
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
version = "3.20.0";
pname = "sqlite-jdbc";
name = "${pname}-${version}";

src = fetchurl {
url = "https://bitbucket.org/xerial/${pname}/downloads/${name}.jar";
sha256 = "0wxfxnq2ghiwy2mwz3rljgmy1lciafhrw80lprvqz6iw8l51qfql";
};

phases = [ "installPhase" ];

installPhase = ''
install -D "${src}" "$out/share/java/${name}.jar"
'';

meta = with lib; {
homepage = "https://github.com/xerial/sqlite-jdbc";
description = "SQLite JDBC Driver";
license = licenses.asl20;
maintainers = with maintainers; [ jraygauthier ];
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -10742,6 +10742,8 @@ with pkgs;

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

sqlite-jdbc = callPackage ../servers/sql/sqlite/jdbc { };

sqlcipher = lowPrio (callPackage ../development/libraries/sqlcipher {
readline = null;
ncurses = null;
Expand Down

0 comments on commit 3f057db

Please sign in to comment.