mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
29 lines
752 B
Nix
29 lines
752 B
Nix
{ stdenv, fetchMavenArtifact }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sqlite-jdbc";
|
|
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/*${pname}-${version}.jar "$out/share/java/${pname}-${version}.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 ];
|
|
};
|
|
}
|
|
|