liquibase: fix missing dependencies

This commit is contained in:
Philipp Middendorf 2018-12-20 20:40:34 +01:00
parent 3745498b58
commit 7d270d993b

View file

@ -6,7 +6,18 @@ assert mysqlSupport -> mysql_jdbc != null;
with stdenv.lib;
let
extraJars = optional mysqlSupport mysql_jdbc;
logback-core = fetchurl {
url = "http://central.maven.org/maven2/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar";
sha256 = "5946d837fe6f960c02a53eda7a6926ecc3c758bbdd69aa453ee429f858217f22";
};
logback-classic = fetchurl {
url = "http://central.maven.org/maven2/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar";
sha256 = "fb53f8539e7fcb8f093a56e138112056ec1dc809ebb020b59d8a36a5ebac37e0";
};
slf4j = fetchurl {
url = "http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar";
sha256 = "18c4a0095d5c1da6b817592e767bb23d29dd2f560ad74df75ff3961dbde25b79";
};
in
stdenv.mkDerivation rec {
@ -34,6 +45,7 @@ stdenv.mkDerivation rec {
in ''
mkdir -p $out/{bin,lib,sdk}
mv ./* $out/
cp ${logback-core} ${logback-classic} ${slf4j} $out/lib
# Clean up documentation.
mkdir -p $out/share/doc/${name}