mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ant";
|
pname = "ant";
|
||||||
version = "1.10.11";
|
version = "1.10.15";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://apache/ant/binaries/apache-ant-${version}-bin.tar.bz2";
|
url = "mirror://apache/ant/binaries/apache-ant-${version}-bin.tar.bz2";
|
||||||
sha256 = "19m8xb7h6xm4jykzb79kakbx1pa4awaglw6z31pbfg8m5pmwkipz";
|
hash = "sha256-h/SNGLoRwRVojDfvl1g+xv+J6mAz+J2BimckjaRxDEs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
contrib = fetchurl {
|
contrib = fetchurl {
|
||||||
@ -78,6 +78,13 @@ stdenv.mkDerivation rec {
|
|||||||
chmod +x $out/bin/ant
|
chmod +x $out/bin/ant
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gitUpdater {
|
||||||
|
rev-prefix = "rel/";
|
||||||
|
url = "https://gitbox.apache.org/repos/asf/ant";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://ant.apache.org/";
|
homepage = "https://ant.apache.org/";
|
||||||
description = "A Java-based build tool";
|
description = "A Java-based build tool";
|
||||||
|
Loading…
Reference in New Issue
Block a user