ant: 1.10.11 -> 1.10.15, add update script (#353301)

This commit is contained in:
Tomodachi94 2024-11-17 22:10:54 -08:00 committed by GitHub
commit bcfd2f5370
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,14 +1,14 @@
{ fetchurl, lib, stdenv, coreutils, makeWrapper }:
{ fetchurl, lib, stdenv, coreutils, makeWrapper, gitUpdater }:
stdenv.mkDerivation rec {
pname = "ant";
version = "1.10.11";
version = "1.10.15";
nativeBuildInputs = [ makeWrapper ];
src = fetchurl {
url = "mirror://apache/ant/binaries/apache-ant-${version}-bin.tar.bz2";
sha256 = "19m8xb7h6xm4jykzb79kakbx1pa4awaglw6z31pbfg8m5pmwkipz";
hash = "sha256-h/SNGLoRwRVojDfvl1g+xv+J6mAz+J2BimckjaRxDEs=";
};
contrib = fetchurl {
@ -78,6 +78,13 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/ant
''; # */
passthru = {
updateScript = gitUpdater {
rev-prefix = "rel/";
url = "https://gitbox.apache.org/repos/asf/ant";
};
};
meta = {
homepage = "https://ant.apache.org/";
description = "Java-based build tool";