From 964595dd779a16fa11215ad5e2bda5a6380f907a Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Sat, 1 Jun 2019 21:29:30 +1200 Subject: gnu: Add Arabic Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-ar): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index dd006e8184..86b843a976 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2016 Christopher Andersson ;;; Copyright © 2016 Theodoros Foradis ;;; Copyright © 2016, 2017, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2019 Jens Mølgaard ;;; ;;; This file is part of GNU Guix. ;;; @@ -131,6 +132,14 @@ dictionaries, including personal ones.") (home-page "http://aspell.net/"))) +(define-public aspell-dict-ar + (aspell-dictionary "ar" "Arabic" + #:version "1.2-0" + #:prefix "aspell6-" + #:sha256 + (base32 + "1avw40bp8yi5bnkq64ihm2rldgw34lk89yz281q9bmndh95a47h4"))) + (define-public aspell-dict-ca (aspell-dictionary "ca" "Catalan" #:version "2.1.5-1" -- cgit v1.2.3 From 8ac3476db73fe40b50b2fad5e08e046e123d3815 Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Wed, 5 Jun 2019 21:10:34 +1200 Subject: gnu: Add Belarusian Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-be): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index 86b843a976..99ceac9b07 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -140,6 +140,14 @@ dictionaries, including personal ones.") (base32 "1avw40bp8yi5bnkq64ihm2rldgw34lk89yz281q9bmndh95a47h4"))) +(define-public aspell-dict-be + (aspell-dictionary "be" "Belarusian" + #:version "0.01" + #:prefix "aspell5-" + #:sha256 + (base32 + "1svls9p7rsfi3hs0afh0cssj006qb4v1ik2yzqgj8hm10c6as2sm"))) + (define-public aspell-dict-ca (aspell-dictionary "ca" "Catalan" #:version "2.1.5-1" -- cgit v1.2.3 From 4bb9528c49e38479f67f4b1ad31e5500302ee42d Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Wed, 5 Jun 2019 20:56:54 +1200 Subject: gnu: Add Danish Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-da): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index 99ceac9b07..940ccd989c 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -162,6 +162,14 @@ dictionaries, including personal ones.") (base32 "01p92qj66cqb346gk7hjfynaap5sbcn85xz07kjfdq623ghr8v5s"))) +(define-public aspell-dict-da + (aspell-dictionary "da" "Danish" + #:version "1.4.42-1" + #:prefix "aspell5-" + #:sha256 + (base32 + "1hfkmiyhgrx5lgrb2mffjbdn1hivrm73wcg7x0iid74p2yb0fjpp"))) + (define-public aspell-dict-el (aspell-dictionary "el" "Greek" #:version "0.08-0" -- cgit v1.2.3 From c066a05094fb46b2665393443d25430c20fe528a Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Wed, 5 Jun 2019 20:58:02 +1200 Subject: gnu: Add Finnish Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-fi): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index 940ccd989c..e00d96a019 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -199,6 +199,14 @@ dictionaries, including personal ones.") (base32 "1k5g328ac1hdpp6fsg57d8md6i0aqcwlszp3gbmp5706wyhpydmd"))) +(define-public aspell-dict-fi + (aspell-dictionary "fi" "Finnish" + #:version "0.7-0" + #:prefix "aspell6-" + #:sha256 + (base32 + "07d5s08ba4dd89cmwy9icc01i6fjdykxlb9ravmhdrhi8mxz1mzq"))) + (define-public aspell-dict-fr (aspell-dictionary "fr" "French" #:version "0.50-3" -- cgit v1.2.3 From 77fe52580fa12e25f4a002da6f7f85cb48e43255 Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Wed, 5 Jun 2019 20:58:51 +1200 Subject: gnu: Add Hindi Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-hi): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index e00d96a019..cd7d0324f3 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -229,6 +229,14 @@ dictionaries, including personal ones.") (base32 "13bhbghx5b8g0119g3wxd4n8mlf707y41vlf59irxjj0kynankfn"))) +(define-public aspell-dict-hi + (aspell-dictionary "hi" "Hindi" + #:version "0.02-0" + #:prefix "aspell6-" + #:sha256 + (base32 + "0drs374qz4419zx1lf2k281ydxf2750jk5ailafj1x0ncz27h1ys"))) + (define-public aspell-dict-it (let ((version "2.4-20070901-0") (sha256 -- cgit v1.2.3 From c5a88aa0e9e46bba7345c8413c7c9aeb0eda63b1 Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Wed, 5 Jun 2019 20:59:30 +1200 Subject: gnu: Add Maori Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-mi): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index cd7d0324f3..f51422ee07 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -258,6 +258,13 @@ dictionaries, including personal ones.") (home-page "http://linguistico.sourceforge.net/pages/dizionario_italiano.html")))) +(define-public aspell-dict-mi + (aspell-dictionary "mi" "Maori" + #:version "0.50-0" + #:sha256 + (base32 + "12bxplpd348yx8d2q8qvahi9dlp7qf28qmanzhziwc7np8rixvmy"))) + (define-public aspell-dict-nl (aspell-dictionary "nl" "Dutch" #:version "0.50-2" -- cgit v1.2.3 From c9400f03a780673fb40debef3133805fb045213c Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Wed, 5 Jun 2019 21:00:46 +1200 Subject: gnu: Add Norwegian Nynorsk Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-nn): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index f51422ee07..dde2a6379b 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -273,6 +273,13 @@ dictionaries, including personal ones.") (base32 "0ffb87yjsh211hllpc4b9khqqrblial4pzi1h9r3v465z1yhn3j4"))) +(define-public aspell-dict-nn + (aspell-dictionary "nn" "Norwegian Nynorsk" + #:version "0.50.1-1" + #:sha256 + (base32 + "0w2k5l5rbqpliripgqwiqixz5ghnjf7i9ggbrc4ly4vy1ia10rmc"))) + (define-public aspell-dict-pt-br (aspell-dictionary "pt-br" "Brazilian Portuguese" #:version "20090702-0" -- cgit v1.2.3 From a1fa54f022ce5cf50ea15708a1a6419ab78393c0 Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Wed, 5 Jun 2019 21:01:35 +1200 Subject: gnu: Add Portuguese Portugal Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-pt-pt): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index dde2a6379b..945a53e3cd 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -288,6 +288,14 @@ dictionaries, including personal ones.") (base32 "1y09lx9zf2rnp55r16b2vgj953l3538z1vaqgflg9mdvm555bz3p"))) +(define-public aspell-dict-pt-pt + (aspell-dictionary "pt-pt" "Portuguese" + #:version "20070510-0" + #:prefix "aspell6-" + #:sha256 + (base32 + "1mnr994cwlag6shy8865ky99lymysiln07mbldcncahg90dagdxq"))) + (define-public aspell-dict-ru (aspell-dictionary "ru" "Russian" #:version "0.99f7-1" -- cgit v1.2.3 From e77dd15a2dbb418d6f5302e8475c0a76fc24b79f Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Wed, 5 Jun 2019 21:02:36 +1200 Subject: gnu: Add Ukrainian Aspell dictionary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm (aspell-dict-ul): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index 945a53e3cd..1bbe57a4ef 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -311,6 +311,13 @@ dictionaries, including personal ones.") (base32 "02jwkjhr32kvyibnyzgx3smbnm576jwdzg3avdf6zxwckhy5fw4v"))) +(define-public aspell-dict-uk + (aspell-dictionary "uk" "Ukrainian" + #:version "1.4.0-0" + #:sha256 + (base32 + "137i4njvnslab6l4s291s11xijr5jsy75lbdph32f9y183lagy9m"))) + ;;; ;;; Hunspell packages made from the Aspell word lists. -- cgit v1.2.3 From cd37b144e498ee0ee030306b319cdc4ef1ec5e6f Mon Sep 17 00:00:00 2001 From: Jens Mølgaard Date: Thu, 6 Jun 2019 17:06:56 +1200 Subject: gnu: aspell.scm: Handle dictionary names with underscore/uppercase. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/aspell.scm(aspell-dictionary): Generate package name from upstream name. (aspell-dict-pt-pt, aspell-dict-pt-br): Use upstream name for URL. Signed-off-by: Ludovic Courtès --- gnu/packages/aspell.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index 1bbe57a4ef..cbc9baeeb3 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -32,7 +32,8 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages compression) - #:use-module (gnu packages perl)) + #:use-module (gnu packages perl) + #:use-module (ice-9 match)) (define-public aspell (package @@ -102,7 +103,14 @@ dictionaries, including personal ones.") (define* (aspell-dictionary dict-name full-name #:key version sha256 (prefix "aspell6-")) (package - (name (string-append "aspell-dict-" dict-name)) + (name (string-append + "aspell-dict-" + ;; Downcase and replace underscore in package names + ;; to follow Guix naming conventions. + (string-map (match-lambda + (#\_ #\-) + (chr chr)) + (string-downcase dict-name)))) (version version) (source (origin (method url-fetch) @@ -281,7 +289,7 @@ dictionaries, including personal ones.") "0w2k5l5rbqpliripgqwiqixz5ghnjf7i9ggbrc4ly4vy1ia10rmc"))) (define-public aspell-dict-pt-br - (aspell-dictionary "pt-br" "Brazilian Portuguese" + (aspell-dictionary "pt_BR" "Brazilian Portuguese" #:version "20090702-0" #:prefix "aspell6-" #:sha256 @@ -289,7 +297,7 @@ dictionaries, including personal ones.") "1y09lx9zf2rnp55r16b2vgj953l3538z1vaqgflg9mdvm555bz3p"))) (define-public aspell-dict-pt-pt - (aspell-dictionary "pt-pt" "Portuguese" + (aspell-dictionary "pt_PT" "Portuguese" #:version "20070510-0" #:prefix "aspell6-" #:sha256 -- cgit v1.2.3