flyway: 6.1.0 -> 6.1.2

This commit is contained in:
Rakesh Gupta 2019-12-20 22:30:06 +11:00 committed by Matthieu Coudron
parent b9a83f7442
commit c1717a13c4

View file

@ -1,13 +1,13 @@
{ stdenv, fetchurl, jre_headless, makeWrapper }:
let
version = "6.1.0";
version = "6.1.2";
in
stdenv.mkDerivation {
pname = "flyway";
inherit version;
src = fetchurl {
url = "https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz";
sha256 = "14f8vviki89dqhd429zlj0frma52xhyxpdln5c81z1dgs7819rpg";
sha256 = "sha256:1rh1p50mwwlmwwdlcx7pzlsrg1dcl7gdsjbi7kyz0m71fbnn0bnv";
};
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
@ -19,6 +19,7 @@
makeWrapper "${jre_headless}/bin/java" $out/bin/flyway \
--add-flags "-Djava.security.egd=file:/dev/../dev/urandom" \
--add-flags "-classpath '$out/share/flyway/lib/*:$out/share/flyway/drivers/*'" \
--add-flags "-jarDirs '$out/share/flyway/jars'" \
--add-flags "org.flywaydb.commandline.Main"
'';
meta = with stdenv.lib; {