ant: rip out ant-contrib (#359137)

This commit is contained in:
dish
2025-09-18 01:08:57 +00:00
committed by GitHub
2 changed files with 2 additions and 9 deletions
@@ -278,6 +278,8 @@
- `libvirt` now supports using `nftables` backend.
- The `virtualisation.libvirtd.firewallBackend` option can be used to configure the firewall backend used by libvirtd.
- The third-party `ant-contrib` is no longer included in the `ant` package.
- `systemd.extraConfig` and `boot.initrd.systemd.extraConfig` was converted to RFC42-style `systemd.settings.Manager` and `boot.initrd.systemd.settings.Manager` respectively.
- `systemd.watchdog.runtimeTime` was renamed to `systemd.settings.Manager.RuntimeWatchdogSec`
- `systemd.watchdog.device` was renamed to `systemd.settings.Manager.WatchdogDevice`
-9
View File
@@ -18,11 +18,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-h/SNGLoRwRVojDfvl1g+xv+J6mAz+J2BimckjaRxDEs=";
};
contrib = fetchurl {
url = "mirror://sourceforge/ant-contrib/ant-contrib-1.0b3-bin.tar.bz2";
sha256 = "1l8say86bz9gxp4yy777z7nm4j6m905pg342li1aphc14p5grvwn";
};
installPhase = ''
mkdir -p $out/bin $out/share/ant
mv * $out/share/ant/
@@ -37,10 +32,6 @@ stdenv.mkDerivation (finalAttrs: {
mkdir $out/share/ant/bin
mv $out/bin/antRun $out/share/ant/bin/
# Install ant-contrib.
unpackFile $contrib
cp -p ant-contrib/ant-contrib-*.jar $out/share/ant/lib/
cat >> $out/bin/ant <<EOF
#! ${stdenv.shell} -e