a2ps: replace name with pname&version

authored by Felix Buehler and committed by Sandro Jäckel 610c052f cb12f0cd

+4 -2
+4 -2
pkgs/tools/text/a2ps/default.nix
··· 1 1 { lib, stdenv, fetchurl, fetchpatch, autoconf, bison, libpaper, gperf, file, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "a2ps-4.14"; 4 + pname = "a2ps"; 5 + version = "4.14"; 6 + 5 7 src = fetchurl { 6 - url = "mirror://gnu/a2ps/${name}.tar.gz"; 8 + url = "mirror://gnu/a2ps/a2ps-${version}.tar.gz"; 7 9 sha256 = "195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk"; 8 10 }; 9 11