enscript: replace name with pname&version

This commit is contained in:
Felix Buehler 2021-07-27 23:01:12 +02:00 committed by Sandro Jäckel
parent cb12f0cd03
commit 43f86e6883
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl, gettext }:
stdenv.mkDerivation rec {
name = "enscript-1.6.6";
pname = "enscript";
version = "1.6.6";
src = fetchurl {
url = "mirror://gnu/enscript/${name}.tar.gz";
url = "mirror://gnu/enscript/enscript-${version}.tar.gz";
sha256 = "1fy0ymvzrrvs889zanxcaxjfcxarm2d3k43c9frmbl1ld7dblmkd";
};