Merge pull request #258314 from eclairevoyant/openbangla-keyboard

openbangla-keyboard: 2.0.0 -> unstable-2023-07-21; add fcitx5 support

authored by Thiago Kenji Okada and committed by GitHub b96d352e cc7791cf

+230 -134
+201 -118
pkgs/applications/misc/openbangla-keyboard/Cargo.lock
··· 4 5 [[package]] 6 name = "ahash" 7 - version = "0.3.8" 8 source = "registry+https://github.com/rust-lang/crates.io-index" 9 - checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217" 10 11 [[package]] 12 name = "aho-corasick" 13 - version = "0.7.18" 14 source = "registry+https://github.com/rust-lang/crates.io-index" 15 - checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" 16 dependencies = [ 17 "memchr", 18 ] 19 20 [[package]] 21 - name = "autocfg" 22 - version = "1.1.0" 23 - source = "registry+https://github.com/rust-lang/crates.io-index" 24 - checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 25 - 26 - [[package]] 27 name = "cfg-if" 28 version = "1.0.0" 29 source = "registry+https://github.com/rust-lang/crates.io-index" 30 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 31 32 [[package]] 33 - name = "crossbeam-channel" 34 - version = "0.5.5" 35 source = "registry+https://github.com/rust-lang/crates.io-index" 36 - checksum = "4c02a4d71819009c192cf4872265391563fd6a84c81ff2c0f2a7026ca4c1d85c" 37 - dependencies = [ 38 - "cfg-if", 39 - "crossbeam-utils", 40 - ] 41 42 [[package]] 43 - name = "crossbeam-deque" 44 - version = "0.8.1" 45 source = "registry+https://github.com/rust-lang/crates.io-index" 46 - checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" 47 - dependencies = [ 48 - "cfg-if", 49 - "crossbeam-epoch", 50 - "crossbeam-utils", 51 - ] 52 53 [[package]] 54 - name = "crossbeam-epoch" 55 - version = "0.9.9" 56 source = "registry+https://github.com/rust-lang/crates.io-index" 57 - checksum = "07db9d94cbd326813772c968ccd25999e5f8ae22f4f8d1b11effa37ef6ce281d" 58 dependencies = [ 59 - "autocfg", 60 "cfg-if", 61 - "crossbeam-utils", 62 - "memoffset", 63 - "once_cell", 64 - "scopeguard", 65 ] 66 67 [[package]] 68 - name = "crossbeam-utils" 69 - version = "0.8.10" 70 source = "registry+https://github.com/rust-lang/crates.io-index" 71 - checksum = "7d82ee10ce34d7bc12c2122495e7593a9c41347ecdd64185af4ecf72cb1a7f83" 72 dependencies = [ 73 - "cfg-if", 74 - "once_cell", 75 ] 76 77 [[package]] 78 - name = "edit-distance" 79 - version = "2.1.0" 80 source = "registry+https://github.com/rust-lang/crates.io-index" 81 - checksum = "bbbaaaf38131deb9ca518a274a45bfdb8771f139517b073b16c2d3d32ae5037b" 82 83 [[package]] 84 - name = "either" 85 - version = "1.7.0" 86 source = "registry+https://github.com/rust-lang/crates.io-index" 87 - checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" 88 89 [[package]] 90 - name = "hashbrown" 91 - version = "0.8.2" 92 source = "registry+https://github.com/rust-lang/crates.io-index" 93 - checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25" 94 dependencies = [ 95 - "ahash", 96 - "autocfg", 97 - "rayon", 98 - "serde", 99 ] 100 101 [[package]] 102 - name = "hermit-abi" 103 - version = "0.1.19" 104 source = "registry+https://github.com/rust-lang/crates.io-index" 105 - checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 106 dependencies = [ 107 - "libc", 108 ] 109 110 [[package]] 111 - name = "itoa" 112 - version = "1.0.2" 113 source = "registry+https://github.com/rust-lang/crates.io-index" 114 - checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d" 115 116 [[package]] 117 - name = "libc" 118 - version = "0.2.126" 119 source = "registry+https://github.com/rust-lang/crates.io-index" 120 - checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" 121 122 [[package]] 123 - name = "memchr" 124 - version = "2.5.0" 125 source = "registry+https://github.com/rust-lang/crates.io-index" 126 - checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 127 128 [[package]] 129 - name = "memoffset" 130 - version = "0.6.5" 131 source = "registry+https://github.com/rust-lang/crates.io-index" 132 - checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" 133 dependencies = [ 134 - "autocfg", 135 ] 136 137 [[package]] 138 - name = "num_cpus" 139 - version = "1.13.1" 140 source = "registry+https://github.com/rust-lang/crates.io-index" 141 - checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" 142 dependencies = [ 143 - "hermit-abi", 144 "libc", 145 ] 146 147 [[package]] 148 - name = "once_cell" 149 - version = "1.13.0" 150 source = "registry+https://github.com/rust-lang/crates.io-index" 151 - checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" 152 153 [[package]] 154 - name = "rayon" 155 - version = "1.5.3" 156 source = "registry+https://github.com/rust-lang/crates.io-index" 157 - checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d" 158 dependencies = [ 159 - "autocfg", 160 - "crossbeam-deque", 161 - "either", 162 - "rayon-core", 163 ] 164 165 [[package]] 166 - name = "rayon-core" 167 - version = "1.9.3" 168 source = "registry+https://github.com/rust-lang/crates.io-index" 169 - checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f" 170 dependencies = [ 171 - "crossbeam-channel", 172 - "crossbeam-deque", 173 - "crossbeam-utils", 174 - "num_cpus", 175 ] 176 177 [[package]] 178 - name = "regex" 179 - version = "1.6.0" 180 source = "registry+https://github.com/rust-lang/crates.io-index" 181 - checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" 182 dependencies = [ 183 "aho-corasick", 184 "memchr", ··· 187 188 [[package]] 189 name = "regex-syntax" 190 - version = "0.6.27" 191 source = "registry+https://github.com/rust-lang/crates.io-index" 192 - checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" 193 194 [[package]] 195 name = "riti" 196 version = "0.1.0" 197 dependencies = [ 198 "edit-distance", 199 - "either", 200 - "hashbrown", 201 - "rayon", 202 "regex", 203 - "rupantor", 204 - "serde_json", 205 - "stringplus", 206 - ] 207 - 208 - [[package]] 209 - name = "rupantor" 210 - version = "0.3.0" 211 - source = "registry+https://github.com/rust-lang/crates.io-index" 212 - checksum = "04eb802986005129b0946dbb4baa420bf14cea547c5ee6b57ba081d9e85f6a4b" 213 - dependencies = [ 214 "serde_json", 215 "stringplus", 216 ] 217 218 [[package]] 219 name = "ryu" 220 - version = "1.0.10" 221 source = "registry+https://github.com/rust-lang/crates.io-index" 222 - checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" 223 224 [[package]] 225 - name = "scopeguard" 226 - version = "1.1.0" 227 source = "registry+https://github.com/rust-lang/crates.io-index" 228 - checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 229 230 [[package]] 231 - name = "serde" 232 - version = "1.0.139" 233 source = "registry+https://github.com/rust-lang/crates.io-index" 234 - checksum = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6" 235 236 [[package]] 237 name = "serde_json" 238 - version = "1.0.82" 239 source = "registry+https://github.com/rust-lang/crates.io-index" 240 - checksum = "82c2c1fdcd807d1098552c5b9a36e425e42e9fbd7c6a37a8425f390f781f7fa7" 241 dependencies = [ 242 "itoa", 243 "ryu", ··· 245 ] 246 247 [[package]] 248 name = "stringplus" 249 version = "0.1.0" 250 source = "registry+https://github.com/rust-lang/crates.io-index" 251 checksum = "9057d3b491a3eee749e52560657c4d93b0badc04fb3fa8dae3c942c5c066f222"
··· 4 5 [[package]] 6 name = "ahash" 7 + version = "0.7.6" 8 source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" 10 + dependencies = [ 11 + "getrandom", 12 + "once_cell", 13 + "version_check", 14 + ] 15 16 [[package]] 17 name = "aho-corasick" 18 + version = "1.1.1" 19 source = "registry+https://github.com/rust-lang/crates.io-index" 20 + checksum = "ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab" 21 dependencies = [ 22 "memchr", 23 ] 24 25 [[package]] 26 name = "cfg-if" 27 version = "1.0.0" 28 source = "registry+https://github.com/rust-lang/crates.io-index" 29 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 30 31 [[package]] 32 + name = "edit-distance" 33 + version = "2.1.0" 34 source = "registry+https://github.com/rust-lang/crates.io-index" 35 + checksum = "bbbaaaf38131deb9ca518a274a45bfdb8771f139517b073b16c2d3d32ae5037b" 36 37 [[package]] 38 + name = "emojicon" 39 + version = "0.3.1" 40 source = "registry+https://github.com/rust-lang/crates.io-index" 41 + checksum = "349cbfb1ca5301d8492ff741487f98fed75957c5e8fee41485e3413359099ef9" 42 43 [[package]] 44 + name = "getrandom" 45 + version = "0.2.10" 46 source = "registry+https://github.com/rust-lang/crates.io-index" 47 + checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" 48 dependencies = [ 49 "cfg-if", 50 + "libc", 51 + "wasi", 52 ] 53 54 [[package]] 55 + name = "itoa" 56 + version = "1.0.9" 57 source = "registry+https://github.com/rust-lang/crates.io-index" 58 + checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" 59 + 60 + [[package]] 61 + name = "libc" 62 + version = "0.2.148" 63 + source = "registry+https://github.com/rust-lang/crates.io-index" 64 + checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" 65 + 66 + [[package]] 67 + name = "matches" 68 + version = "0.1.10" 69 + source = "registry+https://github.com/rust-lang/crates.io-index" 70 + checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" 71 + 72 + [[package]] 73 + name = "memchr" 74 + version = "2.6.3" 75 + source = "registry+https://github.com/rust-lang/crates.io-index" 76 + checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" 77 + 78 + [[package]] 79 + name = "okkhor" 80 + version = "0.5.2" 81 + source = "registry+https://github.com/rust-lang/crates.io-index" 82 + checksum = "e6ef452078c9fb34be8842a52484bf9271e01ac2795e3d15ee90357fb45c102f" 83 + 84 + [[package]] 85 + name = "once_cell" 86 + version = "1.18.0" 87 + source = "registry+https://github.com/rust-lang/crates.io-index" 88 + checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" 89 + 90 + [[package]] 91 + name = "phf" 92 + version = "0.10.1" 93 + source = "registry+https://github.com/rust-lang/crates.io-index" 94 + checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" 95 dependencies = [ 96 + "phf_macros", 97 + "phf_shared", 98 + "proc-macro-hack", 99 ] 100 101 [[package]] 102 + name = "phf_generator" 103 + version = "0.10.0" 104 source = "registry+https://github.com/rust-lang/crates.io-index" 105 + checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" 106 + dependencies = [ 107 + "phf_shared", 108 + "rand", 109 + ] 110 111 [[package]] 112 + name = "phf_macros" 113 + version = "0.10.0" 114 source = "registry+https://github.com/rust-lang/crates.io-index" 115 + checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" 116 + dependencies = [ 117 + "phf_generator", 118 + "phf_shared", 119 + "proc-macro-hack", 120 + "proc-macro2", 121 + "quote", 122 + "syn 1.0.109", 123 + ] 124 125 [[package]] 126 + name = "phf_shared" 127 + version = "0.10.0" 128 source = "registry+https://github.com/rust-lang/crates.io-index" 129 + checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" 130 dependencies = [ 131 + "siphasher", 132 ] 133 134 [[package]] 135 + name = "poriborton" 136 + version = "0.2.2" 137 source = "registry+https://github.com/rust-lang/crates.io-index" 138 + checksum = "c081c9ef49e856f39ccd59e4943582b1e47225eb01b0debc1d388c4daa55b0dd" 139 dependencies = [ 140 + "matches", 141 + "phf", 142 ] 143 144 [[package]] 145 + name = "ppv-lite86" 146 + version = "0.2.17" 147 source = "registry+https://github.com/rust-lang/crates.io-index" 148 + checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 149 150 [[package]] 151 + name = "proc-macro-hack" 152 + version = "0.5.20+deprecated" 153 source = "registry+https://github.com/rust-lang/crates.io-index" 154 + checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" 155 156 [[package]] 157 + name = "proc-macro2" 158 + version = "1.0.67" 159 source = "registry+https://github.com/rust-lang/crates.io-index" 160 + checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328" 161 + dependencies = [ 162 + "unicode-ident", 163 + ] 164 165 [[package]] 166 + name = "quote" 167 + version = "1.0.33" 168 source = "registry+https://github.com/rust-lang/crates.io-index" 169 + checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" 170 dependencies = [ 171 + "proc-macro2", 172 ] 173 174 [[package]] 175 + name = "rand" 176 + version = "0.8.5" 177 source = "registry+https://github.com/rust-lang/crates.io-index" 178 + checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 179 dependencies = [ 180 "libc", 181 + "rand_chacha", 182 + "rand_core", 183 ] 184 185 [[package]] 186 + name = "rand_chacha" 187 + version = "0.3.1" 188 source = "registry+https://github.com/rust-lang/crates.io-index" 189 + checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 190 + dependencies = [ 191 + "ppv-lite86", 192 + "rand_core", 193 + ] 194 195 [[package]] 196 + name = "rand_core" 197 + version = "0.6.4" 198 source = "registry+https://github.com/rust-lang/crates.io-index" 199 + checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 200 dependencies = [ 201 + "getrandom", 202 ] 203 204 [[package]] 205 + name = "regex" 206 + version = "1.9.6" 207 source = "registry+https://github.com/rust-lang/crates.io-index" 208 + checksum = "ebee201405406dbf528b8b672104ae6d6d63e6d118cb10e4d51abbc7b58044ff" 209 dependencies = [ 210 + "aho-corasick", 211 + "memchr", 212 + "regex-automata", 213 + "regex-syntax", 214 ] 215 216 [[package]] 217 + name = "regex-automata" 218 + version = "0.3.9" 219 source = "registry+https://github.com/rust-lang/crates.io-index" 220 + checksum = "59b23e92ee4318893fa3fe3e6fb365258efbfe6ac6ab30f090cdcbb7aa37efa9" 221 dependencies = [ 222 "aho-corasick", 223 "memchr", ··· 226 227 [[package]] 228 name = "regex-syntax" 229 + version = "0.7.5" 230 source = "registry+https://github.com/rust-lang/crates.io-index" 231 + checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" 232 233 [[package]] 234 name = "riti" 235 version = "0.1.0" 236 dependencies = [ 237 + "ahash", 238 "edit-distance", 239 + "emojicon", 240 + "okkhor", 241 + "poriborton", 242 "regex", 243 "serde_json", 244 "stringplus", 245 ] 246 247 [[package]] 248 name = "ryu" 249 + version = "1.0.15" 250 source = "registry+https://github.com/rust-lang/crates.io-index" 251 + checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" 252 253 [[package]] 254 + name = "serde" 255 + version = "1.0.188" 256 source = "registry+https://github.com/rust-lang/crates.io-index" 257 + checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" 258 + dependencies = [ 259 + "serde_derive", 260 + ] 261 262 [[package]] 263 + name = "serde_derive" 264 + version = "1.0.188" 265 source = "registry+https://github.com/rust-lang/crates.io-index" 266 + checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" 267 + dependencies = [ 268 + "proc-macro2", 269 + "quote", 270 + "syn 2.0.37", 271 + ] 272 273 [[package]] 274 name = "serde_json" 275 + version = "1.0.107" 276 source = "registry+https://github.com/rust-lang/crates.io-index" 277 + checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" 278 dependencies = [ 279 "itoa", 280 "ryu", ··· 282 ] 283 284 [[package]] 285 + name = "siphasher" 286 + version = "0.3.11" 287 + source = "registry+https://github.com/rust-lang/crates.io-index" 288 + checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" 289 + 290 + [[package]] 291 name = "stringplus" 292 version = "0.1.0" 293 source = "registry+https://github.com/rust-lang/crates.io-index" 294 checksum = "9057d3b491a3eee749e52560657c4d93b0badc04fb3fa8dae3c942c5c066f222" 295 + 296 + [[package]] 297 + name = "syn" 298 + version = "1.0.109" 299 + source = "registry+https://github.com/rust-lang/crates.io-index" 300 + checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 301 + dependencies = [ 302 + "proc-macro2", 303 + "quote", 304 + "unicode-ident", 305 + ] 306 + 307 + [[package]] 308 + name = "syn" 309 + version = "2.0.37" 310 + source = "registry+https://github.com/rust-lang/crates.io-index" 311 + checksum = "7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8" 312 + dependencies = [ 313 + "proc-macro2", 314 + "quote", 315 + "unicode-ident", 316 + ] 317 + 318 + [[package]] 319 + name = "unicode-ident" 320 + version = "1.0.12" 321 + source = "registry+https://github.com/rust-lang/crates.io-index" 322 + checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 323 + 324 + [[package]] 325 + name = "version_check" 326 + version = "0.9.4" 327 + source = "registry+https://github.com/rust-lang/crates.io-index" 328 + checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 329 + 330 + [[package]] 331 + name = "wasi" 332 + version = "0.11.0+wasi-snapshot-preview1" 333 + source = "registry+https://github.com/rust-lang/crates.io-index" 334 + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+24 -14
pkgs/applications/misc/openbangla-keyboard/default.nix
··· 7 , rustPlatform 8 , rustc 9 , wrapQtAppsHook 10 , ibus 11 , qtbase 12 , zstd 13 }: 14 15 stdenv.mkDerivation rec { 16 pname = "openbangla-keyboard"; 17 - version = "2.0.0"; 18 19 src = fetchFromGitHub { 20 owner = "openbangla"; 21 repo = "openbangla-keyboard"; 22 - rev = version; 23 - hash = "sha256-UoLiysaA0Wob/SLBqm36Txqb8k7bwoQ56h8ZufHR74I="; 24 fetchSubmodules = true; 25 }; 26 ··· 33 wrapQtAppsHook 34 ]; 35 36 - buildInputs = [ 37 ibus 38 qtbase 39 zstd 40 ]; ··· 45 cp ${./Cargo.lock} Cargo.lock 46 ''; 47 sourceRoot = "${src.name}/${cargoRoot}"; 48 - sha256 = "sha256-01MWuUUirsgpoprMArRp3qxKNayPHTkYWk31nXcIC34="; 49 }; 50 51 cargoRoot = "src/engine/riti"; 52 postPatch = '' 53 cp ${./Cargo.lock} ${cargoRoot}/Cargo.lock ··· 59 --replace "/usr" "$out" 60 ''; 61 62 - postInstall = '' 63 - mkdir -p $out/bin 64 - ln -s $out/share/openbangla-keyboard/openbangla-gui $out/bin/openbangla-gui 65 - ''; 66 - 67 - meta = with lib; { 68 description = "An OpenSource, Unicode compliant Bengali Input Method"; 69 homepage = "https://openbangla.github.io/"; 70 - license = licenses.gpl3Plus; 71 - maintainers = with maintainers; [ hqurve ]; 72 - platforms = platforms.linux; 73 # never built on aarch64-linux since first introduction in nixpkgs 74 broken = stdenv.isLinux && stdenv.isAarch64; 75 };
··· 7 , rustPlatform 8 , rustc 9 , wrapQtAppsHook 10 + , fcitx5 11 , ibus 12 , qtbase 13 , zstd 14 + , withFcitx5Support ? false 15 + , withIbusSupport ? false 16 }: 17 18 stdenv.mkDerivation rec { 19 pname = "openbangla-keyboard"; 20 + version = "unstable-2023-07-21"; 21 22 src = fetchFromGitHub { 23 owner = "openbangla"; 24 repo = "openbangla-keyboard"; 25 + # no upstream release in 3 years 26 + # fcitx5 support was added over a year after the last release 27 + rev = "780bd40eed16116222faff044bfeb61a07af158f"; 28 + hash = "sha256-4CR4lgHB51UvS/RLc0AEfIKJ7dyTCOfDrQdGLf9de8E="; 29 fetchSubmodules = true; 30 }; 31 ··· 38 wrapQtAppsHook 39 ]; 40 41 + buildInputs = lib.optionals withFcitx5Support [ 42 + fcitx5 43 + ] ++ lib.optionals withIbusSupport [ 44 ibus 45 + ] ++ [ 46 qtbase 47 zstd 48 ]; ··· 53 cp ${./Cargo.lock} Cargo.lock 54 ''; 55 sourceRoot = "${src.name}/${cargoRoot}"; 56 + hash = "sha256-XMleyP2h1aBhtjXhuGHyU0BN+tuL12CGoj+kLY5uye0="; 57 }; 58 59 + cmakeFlags = lib.optionals withFcitx5Support [ 60 + "-DENABLE_FCITX=YES" 61 + ] ++ lib.optionals withIbusSupport [ 62 + "-DENABLE_IBUS=YES" 63 + ]; 64 + 65 cargoRoot = "src/engine/riti"; 66 postPatch = '' 67 cp ${./Cargo.lock} ${cargoRoot}/Cargo.lock ··· 73 --replace "/usr" "$out" 74 ''; 75 76 + meta = { 77 + isIbusEngine = withIbusSupport; 78 description = "An OpenSource, Unicode compliant Bengali Input Method"; 79 homepage = "https://openbangla.github.io/"; 80 + license = lib.licenses.gpl3Plus; 81 + maintainers = with lib.maintainers; [ eclairevoyant hqurve ]; 82 + platforms = lib.platforms.linux; 83 # never built on aarch64-linux since first introduction in nixpkgs 84 broken = stdenv.isLinux && stdenv.isAarch64; 85 };
+1
pkgs/top-level/aliases.nix
··· 626 opa = throw "opa has been removed from nixpkgs as upstream has abandoned the project"; # Added 2023-03-21 627 opam_1_2 = throw "'opam_1_2' has been renamed to/replaced by 'opam'"; # Added 2023-03-08 628 openafs_1_8 = openafs; # Added 2022-08-22 629 opencascade = throw "'opencascade' has been removed as it is unmaintained; consider opencascade-occt instead'"; # Added 2023-09-18 630 openconnect_head = openconnect_unstable; # Added 2022-03-29 631 openconnect_gnutls = openconnect; # Added 2022-03-29
··· 626 opa = throw "opa has been removed from nixpkgs as upstream has abandoned the project"; # Added 2023-03-21 627 opam_1_2 = throw "'opam_1_2' has been renamed to/replaced by 'opam'"; # Added 2023-03-08 628 openafs_1_8 = openafs; # Added 2022-08-22 629 + openbangla-keyboard = throw "openbangla-keyboard has been replaced by ibus-engines.openbangla-keyboard and fcitx5-openbangla-keyboard"; # added 2023-10-10 630 opencascade = throw "'opencascade' has been removed as it is unmaintained; consider opencascade-occt instead'"; # Added 2023-09-18 631 openconnect_head = openconnect_unstable; # Added 2022-03-29 632 openconnect_gnutls = openconnect; # Added 2022-03-29
+4 -2
pkgs/top-level/all-packages.nix
··· 7053 protobuf = pkgs.protobuf3_21.overrideDerivation (_: { stdenv = clangStdenv; }); 7054 }; 7055 7056 rime = callPackage ../tools/inputmethods/ibus-engines/ibus-rime { }; 7057 7058 table = callPackage ../tools/inputmethods/ibus-engines/ibus-table { }; ··· 8113 fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { lua = lua5_3; }; 8114 8115 fcitx5-m17n = callPackage ../tools/inputmethods/fcitx5/fcitx5-m17n.nix { }; 8116 8117 fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { }; 8118 ··· 11546 11547 openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { jre = pkgs.jre_headless; }; 11548 openapi-generator-cli-unstable = callPackage ../tools/networking/openapi-generator-cli/unstable.nix { jre = pkgs.jre_headless; }; 11549 - 11550 - openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { }; 11551 11552 openboard = libsForQt5.callPackage ../applications/graphics/openboard { }; 11553
··· 7053 protobuf = pkgs.protobuf3_21.overrideDerivation (_: { stdenv = clangStdenv; }); 7054 }; 7055 7056 + openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { withIbusSupport = true; }; 7057 + 7058 rime = callPackage ../tools/inputmethods/ibus-engines/ibus-rime { }; 7059 7060 table = callPackage ../tools/inputmethods/ibus-engines/ibus-table { }; ··· 8115 fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { lua = lua5_3; }; 8116 8117 fcitx5-m17n = callPackage ../tools/inputmethods/fcitx5/fcitx5-m17n.nix { }; 8118 + 8119 + fcitx5-openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { withFcitx5Support = true; }; 8120 8121 fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { }; 8122 ··· 11550 11551 openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { jre = pkgs.jre_headless; }; 11552 openapi-generator-cli-unstable = callPackage ../tools/networking/openapi-generator-cli/unstable.nix { jre = pkgs.jre_headless; }; 11553 11554 openboard = libsForQt5.callPackage ../applications/graphics/openboard { }; 11555