1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 20:12:52 +00:00
nixpkgs/pkgs/servers/sql/sqlite/jdbc/default.nix

29 lines
750 B
Nix
Raw Normal View History

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