aspell, tla: use pname

This commit is contained in:
Benjamin Hipple 2020-04-24 20:13:43 -04:00
parent d17a130290
commit 35ee9b6d94
2 changed files with 10 additions and 8 deletions

View File

@ -1,18 +1,19 @@
{ stdenv, fetchurl, which, diffutils, gnupatch, gnutar }: { stdenv, fetchurl, which, diffutils, gnupatch, gnutar }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tla-1.3.5"; pname = "tla";
version = "1.3.5";
src = fetchurl { src = fetchurl {
url = "https://ftp.gnu.org/old-gnu/gnu-arch/" + name + ".tar.gz"; url = "https://ftp.gnu.org/old-gnu/gnu-arch/tla-${version}.tar.gz";
sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0"; sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0";
}; };
patches = [ ./configure-tmpdir.patch ]; patches = [ ./configure-tmpdir.patch ];
buildInputs = [which]; buildInputs = [ which ];
propagatedBuildInputs = [diffutils gnupatch gnutar]; propagatedBuildInputs = [ diffutils gnupatch gnutar ];
# Instead of GNU Autoconf, tla uses Tom Lord's now # Instead of GNU Autoconf, tla uses Tom Lord's now
# defunct `package-framework'. # defunct `package-framework'.

View File

@ -15,10 +15,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "aspell-0.60.8"; pname = "aspell";
version = "0.60.8";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/aspell/${name}.tar.gz"; url = "mirror://gnu/aspell/aspell-${version}.tar.gz";
sha256 = "1wi60ankalmh8ds7nplz434jd7j94gdvbahdwsr539rlad8pxdzr"; sha256 = "1wi60ankalmh8ds7nplz434jd7j94gdvbahdwsr539rlad8pxdzr";
}; };