summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-01-13 18:54:56 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-01-14 11:41:24 +0200
commit8a018533bab42eb719315c1ba5adb099c7d6b6d8 (patch)
treebc852b4e4e79eb43c2bfe5e74d22015da6bc7167
parent29e697789f034951bf1759f724c8d2fdc6fce129 (diff)
downloadguix-8a018533bab42eb719315c1ba5adb099c7d6b6d8.tar.gz
gnu: aspell-dictionary: Try to find new releases.
* gnu/packages/aspell.scm (aspell-dictionary)[properties]: New field.
-rw-r--r--gnu/packages/aspell.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index 753f65642d..714e0af084 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2013, 2014, 2015, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
 ;;; Copyright © 2016 John Darrington <jmd@gnu.org>
-;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2019, 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Christopher Andersson <christopher@8bits.nu>
 ;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org>
 ;;; Copyright © 2016, 2017, 2019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -136,6 +136,11 @@ dictionaries, including personal ones.")
     (description
      "This package provides a dictionary for the GNU Aspell spell checker.")
     (license gpl2+)
+    (properties
+      ;; Unfortunately any versions with a trailing 'dash and digit' (eg.: '-0')
+      ;; will fail to register as a version.
+      `((upstream-name . ,(string-append prefix dict-name))
+        (ftp-directory . ,(string-append "/aspell/dict/" dict-name))))
     (home-page "http://aspell.net/")))