1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/servers/sql/sqlite/jdbc/default.nix
2018-10-15 20:45:50 +02:00

30 lines
760 B
Nix

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