7 maven.buildMavenPackage rec {
8 pname = "mariadb-connector-java";
11 src = fetchFromGitHub {
12 owner = "mariadb-corporation";
13 repo = "mariadb-connector-j";
14 rev = "refs/tags/${version}";
15 hash = "sha256-MDC0flAD56cXLiLNytbjp0au1NACugFNEpHxbucZO4U=";
18 mvnHash = "sha256-kwKL37LCv4rQYc4bYdyP1tOaovJ8pSp7p52nuk10z/U=";
20 doCheck = false; # Requires networking
24 install -m444 -D target/mariadb-java-client-${version}.jar $out/share/java/mariadb-java-client.jar
28 passthru.updateScript = nix-update-script { };
31 description = "MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases";
32 homepage = "https://mariadb.com/kb/en/about-mariadb-connector-j/";
33 changelog = "https://mariadb.com/kb/en/mariadb-connector-j-release-notes/";
34 license = licenses.lgpl21Plus;
35 maintainers = with maintainers; [ anthonyroussel ];
36 platforms = platforms.all;