BefatorNix/gradle_0_0_2.nix
2025-09-05 17:38:49 +02:00

33 lines
861 B
Nix

{stdenv, fetchFromGitHub, temurin-jre-bin-8, ant}: stdenv.mkDerivation rec {
pname = "gradle";
version = "0.0.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "9efc38c9f9b4ed447ba7fb9c99211f4b260923ec";
hash = "sha256-jtEKHVTp0LUB4U4eBAgE0F74kfCo/5S9qvQC0TvU3FA=";
};
#patches = [./mysql.patch];
nativeBuildInputs = [temurin-jre-bin-8 ant];
#buildInputs = [autoreconfHook ncurses breakpointHook];
#env = {
# ACLOCAL_PATH="${libtool}/share/aclocal";
# NIX_CFLAGS_COMPILE="-fpermissive";
#};
buildPhase = ''
./gradlew
#bash ./gradlew build
#bash ./gradlew install -Pgradle_installPath=$out
'';
#configureFlags = ["--with-plugins=innobase"];
#postInstall = ''
# ln -s $out/libexec/mysqld $out/bin/mysqld
#'';
}