diff --git a/pkgs/by-name/ap/apacheAnt/package.nix b/pkgs/by-name/ap/apacheAnt/package.nix index 5e00d302ac4c..c29d1c4c6f62 100644 --- a/pkgs/by-name/ap/apacheAnt/package.nix +++ b/pkgs/by-name/ap/apacheAnt/package.nix @@ -1,4 +1,4 @@ -{ fetchurl, lib, stdenv, coreutils, makeWrapper }: +{ fetchurl, lib, stdenv, coreutils, makeWrapper, gitUpdater }: stdenv.mkDerivation rec { pname = "ant"; @@ -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";