automake: switch to pname + version

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