a2ps: replace name with pname&version

launchpad/nixpkgs/master
Felix Buehler 3 years ago committed by Sandro Jäckel
parent cb12f0cd03
commit 610c052f71
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
  1. 6
      pkgs/tools/text/a2ps/default.nix

@ -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";
};

Loading…
Cancel
Save