forked from mirrors/nixpkgs
sqlite-jdbc: init at 3.20.0 (#31816)
This commit is contained in:
parent
53973938f1
commit
3f057db6a0
26
pkgs/servers/sql/sqlite/jdbc/default.nix
Normal file
26
pkgs/servers/sql/sqlite/jdbc/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue