{stdenv, fetchFromGitHub, temurin-jre-bin-8, gradle_0_0_2}: stdenv.mkDerivation rec { pname = "gradle"; version = "2.13.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v" + version; hash = "sha256-40rFlGsieGI6DkCddJsaXy1C8346dh+Qi/Lf/VEJVYQ="; }; #patches = [./mysql.patch]; nativeBuildInputs = [temurin-jre-bin-8 gradle_0_0_2]; #buildInputs = [autoreconfHook ncurses breakpointHook]; #env = { # ACLOCAL_PATH="${libtool}/share/aclocal"; # NIX_CFLAGS_COMPILE="-fpermissive"; #}; buildPhase = '' bash ./gradlew build bash ./gradlew install -Pgradle_installPath=$out ''; #configureFlags = ["--with-plugins=innobase"]; #postInstall = '' # ln -s $out/libexec/mysqld $out/bin/mysqld #''; }