about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/misc/automake/automake-1.16.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/automake/automake-1.16.x.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/misc/automake/automake-1.16.x.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/automake/automake-1.16.x.nix b/nixpkgs/pkgs/development/tools/misc/automake/automake-1.16.x.nix
index 042aff09a5fc..4547f745a98f 100644
--- a/nixpkgs/pkgs/development/tools/misc/automake/automake-1.16.x.nix
+++ b/nixpkgs/pkgs/development/tools/misc/automake/automake-1.16.x.nix
@@ -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;
   };
 }