about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/patches
diff options
context:
space:
mode:
authorDmitry Ivankov <divanorama@gmail.com>2021-05-08 18:21:59 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-08 10:22:53 -0700
commit726af289ceab2be254204886458f9c952388c23c (patch)
tree62cbd50da67a2a197cf6706a59fc82ef03d76300 /pkgs/development/haskell-modules/patches
parentc6eba2cd00d04ba3a3c34052c3cce4f9182876af (diff)
downloadnixlib-726af289ceab2be254204886458f9c952388c23c.tar
nixlib-726af289ceab2be254204886458f9c952388c23c.tar.gz
nixlib-726af289ceab2be254204886458f9c952388c23c.tar.bz2
nixlib-726af289ceab2be254204886458f9c952388c23c.tar.lz
nixlib-726af289ceab2be254204886458f9c952388c23c.tar.xz
nixlib-726af289ceab2be254204886458f9c952388c23c.tar.zst
nixlib-726af289ceab2be254204886458f9c952388c23c.zip
haskellPackages.phonetic-languages-phonetics-basics: fix haddockPhase
haddock 2.24.0 rejects double doc-comments on module
https://hydra.nixos.org/build/142423054/nixlog/2

Haven't found upstream repository so patching in-place
https://hackage.haskell.org/package/phonetic-languages-phonetics-basics

ZHF: #122042
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r--pkgs/development/haskell-modules/patches/phonetic-languages-phonetics-basics-haddock.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/patches/phonetic-languages-phonetics-basics-haddock.patch b/pkgs/development/haskell-modules/patches/phonetic-languages-phonetics-basics-haddock.patch
new file mode 100644
index 000000000000..39c1f98298b3
--- /dev/null
+++ b/pkgs/development/haskell-modules/patches/phonetic-languages-phonetics-basics-haddock.patch
@@ -0,0 +1,46 @@
+diff -ru phonetic-languages-phonetics-basics-0.5.1.0/Data/Phonetic/Languages/SpecificationsRead.hs phonetic-languages-phonetics-basics-0.5.1.0/Data/Phonetic/Languages/SpecificationsRead.hs
+--- phonetic-languages-phonetics-basics-0.5.1.0/Data/Phonetic/Languages/SpecificationsRead.hs	2021-04-30 17:45:52.000000000 +0200
++++ phonetic-languages-phonetics-basics-0.5.1.0/Data/Phonetic/Languages/SpecificationsRead.hs	2021-05-08 18:16:15.054951952 +0200
+@@ -1,11 +1,11 @@
+--- |
+--- Module      :  Data.Phonetic.Languages.SpecificationsRead
+--- Copyright   :  (c) OleksandrZhabenko 2021
+--- License     :  MIT
+--- Stability   :  Experimental
+--- Maintainer  :  olexandr543@yahoo.com
+---
+-{-| Provides functions to read data specifications for other modules from textual files.
++{-|
++Module      :  Data.Phonetic.Languages.SpecificationsRead
++Copyright   :  (c) OleksandrZhabenko 2021
++License     :  MIT
++Stability   :  Experimental
++Maintainer  :  olexandr543@yahoo.com
++
++Provides functions to read data specifications for other modules from textual files.
+ -}
+ 
+ module Data.Phonetic.Languages.SpecificationsRead where
+diff -ru phonetic-languages-phonetics-basics-0.5.1.0/Main.hs phonetic-languages-phonetics-basics-0.5.1.0/Main.hs
+--- phonetic-languages-phonetics-basics-0.5.1.0/Main.hs	2021-04-30 17:45:52.000000000 +0200
++++ phonetic-languages-phonetics-basics-0.5.1.0/Main.hs	2021-05-08 18:14:06.344145599 +0200
+@@ -1,11 +1,11 @@
+--- |
+--- Module      :  Main
+--- Copyright   :  (c) OleksandrZhabenko 2020-2021
+--- License     :  MIT
+--- Stability   :  Experimental
+--- Maintainer  :  olexandr543@yahoo.com
+---
+-{-| Can be used to calculate the durations of the approximations of the phonemes
++{-|
++Module      :  Main
++Copyright   :  (c) OleksandrZhabenko 2020-2021
++License     :  MIT
++Stability   :  Experimental
++Maintainer  :  olexandr543@yahoo.com
++
++Can be used to calculate the durations of the approximations of the phonemes
+ using some prepared text with its correct (at least mostly) pronunciation.
+ The prepared text is located in the same directory and contains lines -the
+ phonetic language word and its duration in seconds separated with whitespace.