Merge pull request #297163 from quantenzitrone/wl-gammarelay-rs

wl-gammarelay-rs: 0.3.2 -> 0.4.1

authored by Sandro and committed by GitHub 6eb0dbad 4e064135

+369 -4
+359
pkgs/by-name/wl/wl-gammarelay-rs/Cargo.lock
···
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "anstyle" 7 + version = "1.0.6" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" 10 + 11 + [[package]] 12 + name = "anyhow" 13 + version = "1.0.81" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" 16 + 17 + [[package]] 18 + name = "autocfg" 19 + version = "1.1.0" 20 + source = "registry+https://github.com/rust-lang/crates.io-index" 21 + checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 22 + 23 + [[package]] 24 + name = "bitflags" 25 + version = "2.4.2" 26 + source = "registry+https://github.com/rust-lang/crates.io-index" 27 + checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" 28 + 29 + [[package]] 30 + name = "bytemuck" 31 + version = "1.15.0" 32 + source = "registry+https://github.com/rust-lang/crates.io-index" 33 + checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" 34 + 35 + [[package]] 36 + name = "cfg-if" 37 + version = "1.0.0" 38 + source = "registry+https://github.com/rust-lang/crates.io-index" 39 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 40 + 41 + [[package]] 42 + name = "cfg_aliases" 43 + version = "0.1.1" 44 + source = "registry+https://github.com/rust-lang/crates.io-index" 45 + checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" 46 + 47 + [[package]] 48 + name = "clap" 49 + version = "4.5.3" 50 + source = "registry+https://github.com/rust-lang/crates.io-index" 51 + checksum = "949626d00e063efc93b6dca932419ceb5432f99769911c0b995f7e884c778813" 52 + dependencies = [ 53 + "clap_builder", 54 + "clap_derive", 55 + ] 56 + 57 + [[package]] 58 + name = "clap_builder" 59 + version = "4.5.2" 60 + source = "registry+https://github.com/rust-lang/crates.io-index" 61 + checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" 62 + dependencies = [ 63 + "anstyle", 64 + "clap_lex", 65 + ] 66 + 67 + [[package]] 68 + name = "clap_derive" 69 + version = "4.5.3" 70 + source = "registry+https://github.com/rust-lang/crates.io-index" 71 + checksum = "90239a040c80f5e14809ca132ddc4176ab33d5e17e49691793296e3fcb34d72f" 72 + dependencies = [ 73 + "heck", 74 + "proc-macro2", 75 + "quote", 76 + "syn", 77 + ] 78 + 79 + [[package]] 80 + name = "clap_lex" 81 + version = "0.7.0" 82 + source = "registry+https://github.com/rust-lang/crates.io-index" 83 + checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" 84 + 85 + [[package]] 86 + name = "equivalent" 87 + version = "1.0.1" 88 + source = "registry+https://github.com/rust-lang/crates.io-index" 89 + checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 90 + 91 + [[package]] 92 + name = "hashbrown" 93 + version = "0.14.3" 94 + source = "registry+https://github.com/rust-lang/crates.io-index" 95 + checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" 96 + 97 + [[package]] 98 + name = "heck" 99 + version = "0.5.0" 100 + source = "registry+https://github.com/rust-lang/crates.io-index" 101 + checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 102 + 103 + [[package]] 104 + name = "indexmap" 105 + version = "2.2.5" 106 + source = "registry+https://github.com/rust-lang/crates.io-index" 107 + checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" 108 + dependencies = [ 109 + "equivalent", 110 + "hashbrown", 111 + ] 112 + 113 + [[package]] 114 + name = "libc" 115 + version = "0.2.153" 116 + source = "registry+https://github.com/rust-lang/crates.io-index" 117 + checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" 118 + 119 + [[package]] 120 + name = "memchr" 121 + version = "2.7.1" 122 + source = "registry+https://github.com/rust-lang/crates.io-index" 123 + checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" 124 + 125 + [[package]] 126 + name = "memmap2" 127 + version = "0.9.4" 128 + source = "registry+https://github.com/rust-lang/crates.io-index" 129 + checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" 130 + dependencies = [ 131 + "libc", 132 + ] 133 + 134 + [[package]] 135 + name = "memoffset" 136 + version = "0.9.0" 137 + source = "registry+https://github.com/rust-lang/crates.io-index" 138 + checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 139 + dependencies = [ 140 + "autocfg", 141 + ] 142 + 143 + [[package]] 144 + name = "nix" 145 + version = "0.28.0" 146 + source = "registry+https://github.com/rust-lang/crates.io-index" 147 + checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" 148 + dependencies = [ 149 + "bitflags", 150 + "cfg-if", 151 + "cfg_aliases", 152 + "libc", 153 + "memoffset", 154 + ] 155 + 156 + [[package]] 157 + name = "proc-macro-crate" 158 + version = "3.1.0" 159 + source = "registry+https://github.com/rust-lang/crates.io-index" 160 + checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" 161 + dependencies = [ 162 + "toml_edit", 163 + ] 164 + 165 + [[package]] 166 + name = "proc-macro2" 167 + version = "1.0.79" 168 + source = "registry+https://github.com/rust-lang/crates.io-index" 169 + checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" 170 + dependencies = [ 171 + "unicode-ident", 172 + ] 173 + 174 + [[package]] 175 + name = "quick-xml" 176 + version = "0.31.0" 177 + source = "registry+https://github.com/rust-lang/crates.io-index" 178 + checksum = "1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33" 179 + dependencies = [ 180 + "memchr", 181 + ] 182 + 183 + [[package]] 184 + name = "quote" 185 + version = "1.0.35" 186 + source = "registry+https://github.com/rust-lang/crates.io-index" 187 + checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" 188 + dependencies = [ 189 + "proc-macro2", 190 + ] 191 + 192 + [[package]] 193 + name = "rustbus" 194 + version = "0.19.3" 195 + source = "git+https://github.com/KillingSpark/rustbus?rev=5875f1f#5875f1fefc054ed4e2d91641f59a55b9eaee5be9" 196 + dependencies = [ 197 + "nix", 198 + "rustbus_derive", 199 + "thiserror", 200 + ] 201 + 202 + [[package]] 203 + name = "rustbus-service" 204 + version = "0.1.0" 205 + source = "git+https://github.com/MaxVerevkin/rustbus-service?rev=1bd3aef#1bd3aef5fe2a646685c8e640c0f67a645eeaf41d" 206 + dependencies = [ 207 + "rustbus", 208 + "rustbus-service-macros", 209 + ] 210 + 211 + [[package]] 212 + name = "rustbus-service-macros" 213 + version = "0.1.0" 214 + source = "git+https://github.com/MaxVerevkin/rustbus-service?rev=1bd3aef#1bd3aef5fe2a646685c8e640c0f67a645eeaf41d" 215 + dependencies = [ 216 + "proc-macro-crate", 217 + "quote", 218 + "syn", 219 + ] 220 + 221 + [[package]] 222 + name = "rustbus_derive" 223 + version = "0.6.0" 224 + source = "git+https://github.com/KillingSpark/rustbus?rev=5875f1f#5875f1fefc054ed4e2d91641f59a55b9eaee5be9" 225 + dependencies = [ 226 + "proc-macro2", 227 + "quote", 228 + "syn", 229 + ] 230 + 231 + [[package]] 232 + name = "shmemfdrs2" 233 + version = "1.0.0" 234 + source = "registry+https://github.com/rust-lang/crates.io-index" 235 + checksum = "70a05cf957f811e44f99c629e6d34025429912ffb2333f2960372669e670f54c" 236 + dependencies = [ 237 + "libc", 238 + ] 239 + 240 + [[package]] 241 + name = "syn" 242 + version = "2.0.53" 243 + source = "registry+https://github.com/rust-lang/crates.io-index" 244 + checksum = "7383cd0e49fff4b6b90ca5670bfd3e9d6a733b3f90c686605aa7eec8c4996032" 245 + dependencies = [ 246 + "proc-macro2", 247 + "quote", 248 + "unicode-ident", 249 + ] 250 + 251 + [[package]] 252 + name = "thiserror" 253 + version = "1.0.58" 254 + source = "registry+https://github.com/rust-lang/crates.io-index" 255 + checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" 256 + dependencies = [ 257 + "thiserror-impl", 258 + ] 259 + 260 + [[package]] 261 + name = "thiserror-impl" 262 + version = "1.0.58" 263 + source = "registry+https://github.com/rust-lang/crates.io-index" 264 + checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" 265 + dependencies = [ 266 + "proc-macro2", 267 + "quote", 268 + "syn", 269 + ] 270 + 271 + [[package]] 272 + name = "toml_datetime" 273 + version = "0.6.5" 274 + source = "registry+https://github.com/rust-lang/crates.io-index" 275 + checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" 276 + 277 + [[package]] 278 + name = "toml_edit" 279 + version = "0.21.1" 280 + source = "registry+https://github.com/rust-lang/crates.io-index" 281 + checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" 282 + dependencies = [ 283 + "indexmap", 284 + "toml_datetime", 285 + "winnow", 286 + ] 287 + 288 + [[package]] 289 + name = "unicode-ident" 290 + version = "1.0.12" 291 + source = "registry+https://github.com/rust-lang/crates.io-index" 292 + checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 293 + 294 + [[package]] 295 + name = "wayrs-client" 296 + version = "1.0.3" 297 + source = "registry+https://github.com/rust-lang/crates.io-index" 298 + checksum = "ae384b841a260a5d86f471b21c22639a6fd41fe37c407be72a6d714fd3433bae" 299 + dependencies = [ 300 + "nix", 301 + "thiserror", 302 + "wayrs-scanner", 303 + ] 304 + 305 + [[package]] 306 + name = "wayrs-proto-parser" 307 + version = "2.0.0" 308 + source = "registry+https://github.com/rust-lang/crates.io-index" 309 + checksum = "1406ebeb6ba4a201745a92c221eca3dcec5b404fcbe948acf8a166b323582fa9" 310 + dependencies = [ 311 + "quick-xml", 312 + "thiserror", 313 + ] 314 + 315 + [[package]] 316 + name = "wayrs-protocols" 317 + version = "0.13.2" 318 + source = "registry+https://github.com/rust-lang/crates.io-index" 319 + checksum = "b37562eeb522e6cbc9fb9e4e96a8622e10d0f31fec780ed5c12c1fc15d127a47" 320 + dependencies = [ 321 + "wayrs-client", 322 + ] 323 + 324 + [[package]] 325 + name = "wayrs-scanner" 326 + version = "0.13.2" 327 + source = "registry+https://github.com/rust-lang/crates.io-index" 328 + checksum = "e387d47549e37bd2a6f03973a77578bb003f661559a096c9274b5b9bcd78bf1f" 329 + dependencies = [ 330 + "proc-macro-crate", 331 + "proc-macro2", 332 + "quote", 333 + "syn", 334 + "wayrs-proto-parser", 335 + ] 336 + 337 + [[package]] 338 + name = "winnow" 339 + version = "0.5.40" 340 + source = "registry+https://github.com/rust-lang/crates.io-index" 341 + checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" 342 + dependencies = [ 343 + "memchr", 344 + ] 345 + 346 + [[package]] 347 + name = "wl-gammarelay-rs" 348 + version = "0.4.1" 349 + dependencies = [ 350 + "anyhow", 351 + "bytemuck", 352 + "clap", 353 + "libc", 354 + "memmap2", 355 + "rustbus-service", 356 + "shmemfdrs2", 357 + "wayrs-client", 358 + "wayrs-protocols", 359 + ]
+10 -4
pkgs/by-name/wl/wl-gammarelay-rs/package.nix
··· 5 }: 6 rustPlatform.buildRustPackage rec { 7 pname = "wl-gammarelay-rs"; 8 - version = "0.3.2"; 9 10 src = fetchFromGitHub { 11 owner = "MaxVerevkin"; 12 repo = "wl-gammarelay-rs"; 13 rev = "v${version}"; 14 - hash = "sha256-md6e9nRCs6TZarwFD3/GQEoJSIhtdq++rIZTP7Vl0wQ="; 15 }; 16 17 - cargoHash = "sha256-TDP5RC7B7/ldpK22WsmXd6fSl2rHtvG0hP9NYzoEVYo="; 18 19 meta = { 20 description = "A simple program that provides DBus interface to control display temperature and brightness under wayland without flickering"; 21 homepage = "https://github.com/MaxVerevkin/wl-gammarelay-rs"; 22 license = lib.licenses.gpl3Plus; 23 mainProgram = "wl-gammarelay-rs"; 24 - maintainers = with lib.maintainers; [quantenzitrone]; 25 platforms = lib.platforms.linux; 26 }; 27 }
··· 5 }: 6 rustPlatform.buildRustPackage rec { 7 pname = "wl-gammarelay-rs"; 8 + version = "0.4.1"; 9 10 src = fetchFromGitHub { 11 owner = "MaxVerevkin"; 12 repo = "wl-gammarelay-rs"; 13 rev = "v${version}"; 14 + hash = "sha256-36u2s+Yv+0/lZErHonVvzyBuZ2xES2MGMG4PRjaM74k="; 15 }; 16 17 + cargoLock = { 18 + lockFile = ./Cargo.lock; 19 + outputHashes = { 20 + "rustbus-0.19.3" = "sha256-Eq3qCsjiNKe3Vdpx7a3J1icPGQmKfCyz1wcgCyztH64="; 21 + "rustbus-service-0.1.0" = "sha256-9yuIPqOecTqP0zsFqSue4hL7ZEF9MQpTF1gCJpKV6nk="; 22 + }; 23 + }; 24 25 meta = { 26 description = "A simple program that provides DBus interface to control display temperature and brightness under wayland without flickering"; 27 homepage = "https://github.com/MaxVerevkin/wl-gammarelay-rs"; 28 license = lib.licenses.gpl3Plus; 29 mainProgram = "wl-gammarelay-rs"; 30 + maintainers = with lib.maintainers; [ quantenzitrone ]; 31 platforms = lib.platforms.linux; 32 }; 33 }