From 7d270d993b9e06040793411ecff11b409e3752b7 Mon Sep 17 00:00:00 2001 From: Philipp Middendorf Date: Thu, 20 Dec 2018 20:40:34 +0100 Subject: [PATCH] liquibase: fix missing dependencies --- .../tools/database/liquibase/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/database/liquibase/default.nix b/pkgs/development/tools/database/liquibase/default.nix index 46104e78d1d7..4589e6ff4e5b 100644 --- a/pkgs/development/tools/database/liquibase/default.nix +++ b/pkgs/development/tools/database/liquibase/default.nix @@ -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}