automake: switch to pname + version

This commit is contained in:
Sandro Jäckel 2021-08-12 18:16:30 +02:00
parent ad3ed16929
commit 25a3842f06
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -2,10 +2,11 @@
stdenv.mkDerivation rec {
# When updating, beware of https://github.com/NixOS/nixpkgs/pull/131928#issuecomment-896614165
name = "automake-1.16.3";
pname = "automake";
version = "1.16.3";
src = fetchurl {
url = "mirror://gnu/automake/${name}.tar.xz";
url = "mirror://gnu/automake/automake-${version}.tar.xz";
sha256 = "0fmz2fhmzcpacnprl5msphvaflwiy0hvpgmqlgfny72ddijzfazz";
};
@ -27,18 +28,16 @@ stdenv.mkDerivation rec {
# "fixed" path in generated files!
dontPatchShebangs = true;
meta = {
meta = with lib; {
branch = "1.16";
homepage = "https://www.gnu.org/software/automake/";
description = "GNU standard-compliant makefile generator";
license = lib.licenses.gpl2Plus;
license = licenses.gpl2Plus;
longDescription = ''
GNU Automake is a tool for automatically generating
`Makefile.in' files compliant with the GNU Coding
Standards. Automake requires the use of Autoconf.
'';
platforms = lib.platforms.all;
platforms = platforms.all;
};
}