3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #52587 from plapadoo/liquibase-temporary-fix-jars

liquibase: fix missing dependencies
This commit is contained in:
Maximilian Bosch 2018-12-21 02:19:26 +01:00 committed by GitHub
commit a2389cc318
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}