Skip to content

Commit

Permalink
liquibase: fix missing dependencies
Browse files Browse the repository at this point in the history
(cherry picked from commit 7d270d9)
Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
  • Loading branch information
Philipp Middendorf authored and Ma27 committed Dec 21, 2018
1 parent b7cfe95 commit 948c9f4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pkgs/development/tools/database/liquibase/default.nix
Expand Up @@ -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 {
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 948c9f4

Please sign in to comment.