{stdenv, fetchurl, perl, autoconf269}: stdenv.mkDerivation rec { pname = "automake"; version = "1.11.6"; src = fetchurl { url = "mirror://gnu/automake/automake-${version}.tar.gz"; hash = "sha256-U9vxlFQBxD9M4ZwZcbrs2/i8MuDzf6P0n+e2mS0NIDA="; }; patches = [ ./fix-perl-5.26.patch ]; builder = ./builder.sh; setupHook = ./setup-hook.sh; # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the # "fixed" path in generated files! dontPatchShebangs = true; buildInputs = [ perl autoconf269 ]; }