nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 30 lines 790 B view raw
1{ 2 lib, 3 stdenv, 4 fetchMavenArtifact, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "sqlite-jdbc"; 9 version = "3.49.1.0"; 10 11 src = fetchMavenArtifact { 12 groupId = "org.xerial"; 13 artifactId = "sqlite-jdbc"; 14 inherit version; 15 hash = "sha256-XIYJ0so0HeuMb3F3iXS1ukmVx9MtfHyJ2TkqPnLDkpE="; 16 }; 17 18 installPhase = '' 19 install -m444 -D ${src}/share/java/*${pname}-${version}.jar "$out/share/java/${pname}-${version}.jar" 20 ''; 21 22 meta = { 23 homepage = "https://github.com/xerial/sqlite-jdbc"; 24 description = "Library for accessing and creating SQLite database files in Java"; 25 license = lib.licenses.asl20; 26 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 27 platforms = lib.platforms.linux; 28 maintainers = with lib.maintainers; [ jraygauthier ]; 29 }; 30}