forked from mirrors/nixpkgs
a2ps: replace name with pname&version
This commit is contained in:
parent
cb12f0cd03
commit
610c052f71
|
@ -1,9 +1,11 @@
|
||||||
{ lib, stdenv, fetchurl, fetchpatch, autoconf, bison, libpaper, gperf, file, perl }:
|
{ lib, stdenv, fetchurl, fetchpatch, autoconf, bison, libpaper, gperf, file, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "a2ps-4.14";
|
pname = "a2ps";
|
||||||
|
version = "4.14";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/a2ps/${name}.tar.gz";
|
url = "mirror://gnu/a2ps/a2ps-${version}.tar.gz";
|
||||||
sha256 = "195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk";
|
sha256 = "195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue