a2ps: replace name with pname&version

This commit is contained in:
Felix Buehler 2021-07-27 22:57:59 +02:00 committed by Sandro Jäckel
parent cb12f0cd03
commit 610c052f71
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,9 +1,11 @@
{ lib, stdenv, fetchurl, fetchpatch, autoconf, bison, libpaper, gperf, file, perl }:
stdenv.mkDerivation rec {
name = "a2ps-4.14";
pname = "a2ps";
version = "4.14";
src = fetchurl {
url = "mirror://gnu/a2ps/${name}.tar.gz";
url = "mirror://gnu/a2ps/a2ps-${version}.tar.gz";
sha256 = "195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk";
};