repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lock: 1.3.0 -> 1.3.4 (#364295)
[NixPkgs.git]
/
pkgs
/
by-name
/
to
/
tomcat_mysql_jdbc
/
package.nix
blob
d45f4414ab96f4fb49a38b45fabbc9ed6c5d3f28
1
{
2
lib,
3
stdenv,
4
mysql_jdbc,
5
}:
6
7
stdenv.mkDerivation {
8
pname = "tomcat-mysql-jdbc";
9
version = mysql_jdbc.version;
10
11
dontUnpack = true;
12
13
installPhase = ''
14
runHook preInstall
15
16
mkdir -p $out/lib
17
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/lib/mysql-connector-java.jar
18
19
runHook postInstall
20
'';
21
22
meta = {
23
platforms = lib.platforms.unix;
24
};
25
}