mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
[Backport release-24.05] ant: 1.10.11 -> 1.10.15, add update script (#356879)
This commit is contained in:
commit
082b0ffde5
@ -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 = "A Java-based build tool";
|
||||
|
Loading…
Reference in New Issue
Block a user