automake: switch to pname + version

+6 -7
+6 -7
pkgs/development/tools/misc/automake/automake-1.16.x.nix
··· 2 3 stdenv.mkDerivation rec { 4 # When updating, beware of https://github.com/NixOS/nixpkgs/pull/131928#issuecomment-896614165 5 - name = "automake-1.16.3"; 6 7 src = fetchurl { 8 - url = "mirror://gnu/automake/${name}.tar.xz"; 9 sha256 = "0fmz2fhmzcpacnprl5msphvaflwiy0hvpgmqlgfny72ddijzfazz"; 10 }; 11 ··· 27 # "fixed" path in generated files! 28 dontPatchShebangs = true; 29 30 - meta = { 31 branch = "1.16"; 32 homepage = "https://www.gnu.org/software/automake/"; 33 description = "GNU standard-compliant makefile generator"; 34 - license = lib.licenses.gpl2Plus; 35 - 36 longDescription = '' 37 GNU Automake is a tool for automatically generating 38 `Makefile.in' files compliant with the GNU Coding 39 Standards. Automake requires the use of Autoconf. 40 ''; 41 - 42 - platforms = lib.platforms.all; 43 }; 44 }
··· 2 3 stdenv.mkDerivation rec { 4 # When updating, beware of https://github.com/NixOS/nixpkgs/pull/131928#issuecomment-896614165 5 + pname = "automake"; 6 + version = "1.16.3"; 7 8 src = fetchurl { 9 + url = "mirror://gnu/automake/automake-${version}.tar.xz"; 10 sha256 = "0fmz2fhmzcpacnprl5msphvaflwiy0hvpgmqlgfny72ddijzfazz"; 11 }; 12 ··· 28 # "fixed" path in generated files! 29 dontPatchShebangs = true; 30 31 + meta = with lib; { 32 branch = "1.16"; 33 homepage = "https://www.gnu.org/software/automake/"; 34 description = "GNU standard-compliant makefile generator"; 35 + license = licenses.gpl2Plus; 36 longDescription = '' 37 GNU Automake is a tool for automatically generating 38 `Makefile.in' files compliant with the GNU Coding 39 Standards. Automake requires the use of Autoconf. 40 ''; 41 + platforms = platforms.all; 42 }; 43 }