Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 159a5f31bc85
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: aed2dea55a93
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Nov 1, 2018

  1. flyway: 5.1.4 -> 5.2.1

    Distribute only the community edition JARs which are the only ones under Apache 2.0 license
    This also reduce closure size
    c0bw3b authored Nov 1, 2018
    Copy the full SHA
    ee09650 View commit details

Commits on Nov 6, 2018

  1. Merge pull request #49609 from c0bw3b/pkg/flyway

    flyway: 5.1.4 -> 5.2.1
    c0bw3b authored Nov 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    aed2dea View commit details
Showing with 6 additions and 5 deletions.
  1. +6 −5 pkgs/development/tools/flyway/default.nix
11 changes: 6 additions & 5 deletions pkgs/development/tools/flyway/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{ stdenv, fetchurl, jre_headless, makeWrapper }:
let
version = "5.1.4";
version = "5.2.1";
in
stdenv.mkDerivation {
name = "flyway-${version}";
src = fetchurl {
url = "https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/5.1.4/flyway-commandline-${version}.tar.gz";
sha256 = "1raz125k55v6xa8gp6ylcjxz77r5364xqp9di46rayx3z2282f7q";
url = "https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz";
sha256 = "0lm536qc8pqj4s21dd47gi99nwwflk17gqzfwaflghw3fnhn7i1s";
};
buildInputs = [ makeWrapper ];
dontBuild = true;
dontStrip = true;
installPhase = ''
mkdir -p $out/bin $out/share/flyway
cp -r sql jars lib drivers $out/share/flyway
cp -r sql jars drivers conf $out/share/flyway
cp -r lib/community $out/share/flyway/lib
makeWrapper "${jre_headless}/bin/java" $out/bin/flyway \
--add-flags "-Djava.security.egd=file:/dev/../dev/urandom" \
--add-flags "-cp '$out/share/flyway/lib/*:$out/share/flyway/drivers/*'" \
--add-flags "-classpath '$out/share/flyway/lib/*:$out/share/flyway/drivers/*'" \
--add-flags "org.flywaydb.commandline.Main"
'';
meta = with stdenv.lib; {