mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
23 lines
496 B
Nix
23 lines
496 B
Nix
{ lib, stdenv, mysql_jdbc }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "jboss-mysql-jdbc";
|
|
inherit (mysql_jdbc) version;
|
|
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/server/default/lib
|
|
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/server/default/lib/mysql-connector-java.jar
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
inherit (mysql_jdbc.meta) description license platforms homepage;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|