dmenu-rs: fix issue 222351 and bump to 5.5.2

Fix the dmenu-rs package derivation, which was broken after changes to
the rustPlatform nixpkgs tooling. The issue linked below was
specifically raised on an early version of NixOS 23.05.

This is through no fault of those changes. In fact, the brittle hack in
the dmenu-rs derivation that broke can now be entirely removed because
of the very changes that broke them.

This commit also bumps dmenu-rs from 5.5.1 to 5.5.2. See upstream for
details on the changes.

See https://github.com/NixOS/nixpkgs/issues/222351
See https://github.com/NixOS/nixpkgs/pull/218472
See https://github.com/Shizcow/dmenu-rs

+435 -213
+420 -197
pkgs/applications/misc/dmenu-rs/Cargo.lock
··· 4 5 [[package]] 6 name = "aho-corasick" 7 - version = "0.7.19" 8 source = "registry+https://github.com/rust-lang/crates.io-index" 9 - checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e" 10 dependencies = [ 11 "memchr", 12 ] ··· 21 ] 22 23 [[package]] 24 - name = "arrayref" 25 - version = "0.3.6" 26 source = "registry+https://github.com/rust-lang/crates.io-index" 27 - checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" 28 29 [[package]] 30 - name = "arrayvec" 31 - version = "0.5.2" 32 source = "registry+https://github.com/rust-lang/crates.io-index" 33 - checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" 34 35 [[package]] 36 name = "atty" ··· 38 source = "registry+https://github.com/rust-lang/crates.io-index" 39 checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 40 dependencies = [ 41 - "hermit-abi", 42 "libc", 43 "winapi", 44 ] 45 46 [[package]] 47 - name = "base64" 48 - version = "0.13.1" 49 - source = "registry+https://github.com/rust-lang/crates.io-index" 50 - checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" 51 - 52 - [[package]] 53 name = "bindgen" 54 - version = "0.53.3" 55 source = "registry+https://github.com/rust-lang/crates.io-index" 56 - checksum = "c72a978d268b1d70b0e963217e60fdabd9523a941457a6c42a7315d15c7e89e5" 57 dependencies = [ 58 "bitflags", 59 "cexpr", 60 - "cfg-if 0.1.10", 61 "clang-sys", 62 - "clap", 63 - "env_logger", 64 "lazy_static", 65 "lazycell", 66 "log", ··· 70 "regex", 71 "rustc-hash", 72 "shlex", 73 "which", 74 ] 75 ··· 80 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 81 82 [[package]] 83 - name = "blake2b_simd" 84 - version = "0.5.11" 85 - source = "registry+https://github.com/rust-lang/crates.io-index" 86 - checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587" 87 - dependencies = [ 88 - "arrayref", 89 - "arrayvec", 90 - "constant_time_eq", 91 - ] 92 - 93 - [[package]] 94 name = "block" 95 version = "0.1.6" 96 source = "registry+https://github.com/rust-lang/crates.io-index" 97 checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" 98 99 [[package]] 100 - name = "bstr" 101 - version = "0.2.17" 102 - source = "registry+https://github.com/rust-lang/crates.io-index" 103 - checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" 104 - dependencies = [ 105 - "lazy_static", 106 - "memchr", 107 - "regex-automata", 108 - "serde", 109 - ] 110 - 111 - [[package]] 112 - name = "byteorder" 113 - version = "1.4.3" 114 - source = "registry+https://github.com/rust-lang/crates.io-index" 115 - checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 116 - 117 - [[package]] 118 name = "cc" 119 - version = "1.0.76" 120 source = "registry+https://github.com/rust-lang/crates.io-index" 121 - checksum = "76a284da2e6fe2092f2353e51713435363112dfd60030e22add80be333fb928f" 122 123 [[package]] 124 name = "cexpr" 125 - version = "0.4.0" 126 source = "registry+https://github.com/rust-lang/crates.io-index" 127 - checksum = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27" 128 dependencies = [ 129 "nom", 130 ] 131 132 [[package]] 133 name = "cfg-if" 134 - version = "0.1.10" 135 - source = "registry+https://github.com/rust-lang/crates.io-index" 136 - checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" 137 - 138 - [[package]] 139 - name = "cfg-if" 140 version = "1.0.0" 141 source = "registry+https://github.com/rust-lang/crates.io-index" 142 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 143 144 [[package]] 145 name = "clang-sys" 146 - version = "0.29.3" 147 source = "registry+https://github.com/rust-lang/crates.io-index" 148 - checksum = "fe6837df1d5cba2397b835c8530f51723267e16abbf83892e9e5af4f0e5dd10a" 149 dependencies = [ 150 "glob", 151 "libc", ··· 161 "ansi_term", 162 "atty", 163 "bitflags", 164 - "strsim", 165 "textwrap", 166 "unicode-width", 167 "vec_map", 168 - "yaml-rust", 169 ] 170 171 [[package]] 172 name = "clipboard" 173 version = "0.5.0" 174 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 192 193 [[package]] 194 name = "cmake" 195 - version = "0.1.49" 196 source = "registry+https://github.com/rust-lang/crates.io-index" 197 - checksum = "db34956e100b30725f2eb215f90d4871051239535632f84fea3bc92722c66b7c" 198 dependencies = [ 199 "cc", 200 ] 201 202 [[package]] 203 name = "config" 204 version = "0.0.0" 205 dependencies = [ 206 "glob", 207 - "itertools", 208 "man_dmenu", 209 "prettytable-rs", 210 "termcolor", 211 - "yaml-rust", 212 - ] 213 - 214 - [[package]] 215 - name = "constant_time_eq" 216 - version = "0.1.5" 217 - source = "registry+https://github.com/rust-lang/crates.io-index" 218 - checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" 219 - 220 - [[package]] 221 - name = "crossbeam-utils" 222 - version = "0.8.12" 223 - source = "registry+https://github.com/rust-lang/crates.io-index" 224 - checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac" 225 - dependencies = [ 226 - "cfg-if 1.0.0", 227 ] 228 229 [[package]] 230 name = "csv" 231 - version = "1.1.6" 232 source = "registry+https://github.com/rust-lang/crates.io-index" 233 - checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" 234 dependencies = [ 235 - "bstr", 236 "csv-core", 237 "itoa", 238 "ryu", ··· 249 ] 250 251 [[package]] 252 - name = "dirs" 253 - version = "1.0.5" 254 source = "registry+https://github.com/rust-lang/crates.io-index" 255 - checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901" 256 dependencies = [ 257 "libc", 258 "redox_users", ··· 263 name = "dmenu-build" 264 version = "0.0.0" 265 dependencies = [ 266 - "clap", 267 "clipboard", 268 - "itertools", 269 "lazy_static", 270 "libc", 271 "overrider", ··· 278 "termcolor", 279 "unicode-segmentation", 280 "x11", 281 - "yaml-rust", 282 ] 283 284 [[package]] 285 name = "either" 286 - version = "1.8.0" 287 source = "registry+https://github.com/rust-lang/crates.io-index" 288 - checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" 289 290 [[package]] 291 name = "encode_unicode" 292 - version = "0.3.6" 293 source = "registry+https://github.com/rust-lang/crates.io-index" 294 - checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" 295 296 [[package]] 297 - name = "env_logger" 298 - version = "0.7.1" 299 source = "registry+https://github.com/rust-lang/crates.io-index" 300 - checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" 301 dependencies = [ 302 - "atty", 303 - "humantime", 304 - "log", 305 - "regex", 306 - "termcolor", 307 ] 308 309 [[package]] ··· 329 330 [[package]] 331 name = "getrandom" 332 - version = "0.1.16" 333 source = "registry+https://github.com/rust-lang/crates.io-index" 334 - checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" 335 dependencies = [ 336 - "cfg-if 1.0.0", 337 "libc", 338 "wasi", 339 ] 340 341 [[package]] 342 name = "glob" 343 - version = "0.3.0" 344 source = "registry+https://github.com/rust-lang/crates.io-index" 345 - checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" 346 347 [[package]] 348 name = "headers" ··· 353 ] 354 355 [[package]] 356 name = "hermit-abi" 357 version = "0.1.19" 358 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 362 ] 363 364 [[package]] 365 - name = "humantime" 366 - version = "1.3.0" 367 source = "registry+https://github.com/rust-lang/crates.io-index" 368 - checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" 369 dependencies = [ 370 - "quick-error", 371 ] 372 373 [[package]] ··· 380 ] 381 382 [[package]] 383 name = "itoa" 384 - version = "0.4.8" 385 source = "registry+https://github.com/rust-lang/crates.io-index" 386 - checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" 387 388 [[package]] 389 name = "lazy_static" ··· 399 400 [[package]] 401 name = "libc" 402 - version = "0.2.137" 403 source = "registry+https://github.com/rust-lang/crates.io-index" 404 - checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" 405 406 [[package]] 407 name = "libloading" 408 - version = "0.5.2" 409 source = "registry+https://github.com/rust-lang/crates.io-index" 410 - checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" 411 dependencies = [ 412 - "cc", 413 "winapi", 414 ] 415 416 [[package]] 417 name = "log" ··· 419 source = "registry+https://github.com/rust-lang/crates.io-index" 420 checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" 421 dependencies = [ 422 - "cfg-if 1.0.0", 423 ] 424 425 [[package]] ··· 435 name = "man_dmenu" 436 version = "0.1.0" 437 dependencies = [ 438 - "itertools", 439 ] 440 441 [[package]] ··· 443 version = "2.5.0" 444 source = "registry+https://github.com/rust-lang/crates.io-index" 445 checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 446 447 [[package]] 448 name = "nom" 449 - version = "5.1.2" 450 source = "registry+https://github.com/rust-lang/crates.io-index" 451 - checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" 452 dependencies = [ 453 "memchr", 454 - "version_check", 455 ] 456 457 [[package]] ··· 484 ] 485 486 [[package]] 487 name = "overrider" 488 version = "0.7.0" 489 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 491 dependencies = [ 492 "proc-macro2", 493 "quote", 494 - "syn", 495 ] 496 497 [[package]] ··· 501 checksum = "1d9709eba39b602b089deaf80b123e5c8ecfd071aab827a66c1a58412074fbcc" 502 dependencies = [ 503 "glob", 504 - "syn", 505 ] 506 507 [[package]] ··· 527 528 [[package]] 529 name = "prettytable-rs" 530 - version = "0.8.0" 531 source = "registry+https://github.com/rust-lang/crates.io-index" 532 - checksum = "0fd04b170004fa2daccf418a7f8253aaf033c27760b5f225889024cf66d7ac2e" 533 dependencies = [ 534 - "atty", 535 "csv", 536 "encode_unicode", 537 "lazy_static", 538 "term", 539 "unicode-width", ··· 541 542 [[package]] 543 name = "proc-macro2" 544 - version = "1.0.47" 545 source = "registry+https://github.com/rust-lang/crates.io-index" 546 - checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" 547 dependencies = [ 548 "unicode-ident", 549 ] ··· 555 checksum = "fd16b1c456def2ad84b3574651f069541dea178ee688e882943cb21232a5cb01" 556 dependencies = [ 557 "glob", 558 - "itertools", 559 ] 560 561 [[package]] 562 - name = "quick-error" 563 - version = "1.2.3" 564 - source = "registry+https://github.com/rust-lang/crates.io-index" 565 - checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" 566 - 567 - [[package]] 568 name = "quote" 569 - version = "1.0.21" 570 source = "registry+https://github.com/rust-lang/crates.io-index" 571 - checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" 572 dependencies = [ 573 "proc-macro2", 574 ] 575 576 [[package]] 577 name = "redox_syscall" 578 - version = "0.1.57" 579 source = "registry+https://github.com/rust-lang/crates.io-index" 580 - checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" 581 582 [[package]] 583 name = "redox_users" 584 - version = "0.3.5" 585 source = "registry+https://github.com/rust-lang/crates.io-index" 586 - checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d" 587 dependencies = [ 588 "getrandom", 589 "redox_syscall", 590 - "rust-argon2", 591 ] 592 593 [[package]] 594 name = "regex" 595 - version = "1.7.0" 596 source = "registry+https://github.com/rust-lang/crates.io-index" 597 - checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" 598 dependencies = [ 599 "aho-corasick", 600 "memchr", ··· 602 ] 603 604 [[package]] 605 - name = "regex-automata" 606 - version = "0.1.10" 607 - source = "registry+https://github.com/rust-lang/crates.io-index" 608 - checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 609 - 610 - [[package]] 611 name = "regex-syntax" 612 - version = "0.6.28" 613 source = "registry+https://github.com/rust-lang/crates.io-index" 614 - checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" 615 - 616 - [[package]] 617 - name = "rust-argon2" 618 - version = "0.8.3" 619 - source = "registry+https://github.com/rust-lang/crates.io-index" 620 - checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb" 621 - dependencies = [ 622 - "base64", 623 - "blake2b_simd", 624 - "constant_time_eq", 625 - "crossbeam-utils", 626 - ] 627 628 [[package]] 629 name = "rustc-hash" ··· 651 ] 652 653 [[package]] 654 name = "ryu" 655 - version = "1.0.11" 656 source = "registry+https://github.com/rust-lang/crates.io-index" 657 - checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" 658 659 [[package]] 660 name = "semver" ··· 673 674 [[package]] 675 name = "serde" 676 - version = "1.0.147" 677 source = "registry+https://github.com/rust-lang/crates.io-index" 678 - checksum = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965" 679 680 [[package]] 681 name = "servo-fontconfig" ··· 700 701 [[package]] 702 name = "shlex" 703 - version = "0.1.1" 704 source = "registry+https://github.com/rust-lang/crates.io-index" 705 - checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" 706 707 [[package]] 708 name = "strsim" ··· 711 checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 712 713 [[package]] 714 name = "syn" 715 - version = "1.0.103" 716 source = "registry+https://github.com/rust-lang/crates.io-index" 717 - checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d" 718 dependencies = [ 719 "proc-macro2", 720 "quote", ··· 723 724 [[package]] 725 name = "term" 726 - version = "0.5.2" 727 source = "registry+https://github.com/rust-lang/crates.io-index" 728 - checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42" 729 dependencies = [ 730 - "byteorder", 731 - "dirs", 732 "winapi", 733 ] 734 735 [[package]] 736 name = "termcolor" 737 - version = "1.1.3" 738 source = "registry+https://github.com/rust-lang/crates.io-index" 739 - checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" 740 dependencies = [ 741 "winapi-util", 742 ] ··· 751 ] 752 753 [[package]] 754 name = "unicode-ident" 755 - version = "1.0.5" 756 source = "registry+https://github.com/rust-lang/crates.io-index" 757 - checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" 758 759 [[package]] 760 name = "unicode-segmentation" 761 - version = "1.10.0" 762 source = "registry+https://github.com/rust-lang/crates.io-index" 763 - checksum = "0fdbf052a0783de01e944a6ce7a8cb939e295b1e7be835a1112c3b9a7f047a5a" 764 765 [[package]] 766 name = "unicode-width" ··· 769 checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" 770 771 [[package]] 772 - name = "vec_map" 773 - version = "0.8.2" 774 source = "registry+https://github.com/rust-lang/crates.io-index" 775 - checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 776 777 [[package]] 778 - name = "version_check" 779 - version = "0.9.4" 780 source = "registry+https://github.com/rust-lang/crates.io-index" 781 - checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 782 783 [[package]] 784 name = "wasi" 785 - version = "0.9.0+wasi-snapshot-preview1" 786 source = "registry+https://github.com/rust-lang/crates.io-index" 787 - checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" 788 789 [[package]] 790 name = "which" 791 - version = "3.1.1" 792 source = "registry+https://github.com/rust-lang/crates.io-index" 793 - checksum = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724" 794 dependencies = [ 795 "libc", 796 ] 797 798 [[package]] ··· 827 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 828 829 [[package]] 830 name = "x11" 831 - version = "2.20.0" 832 source = "registry+https://github.com/rust-lang/crates.io-index" 833 - checksum = "f7ae97874a928d821b061fce3d1fc52f08071dd53c89a6102bc06efcac3b2908" 834 dependencies = [ 835 "libc", 836 "pkg-config", ··· 860 version = "0.3.5" 861 source = "registry+https://github.com/rust-lang/crates.io-index" 862 checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992"
··· 4 5 [[package]] 6 name = "aho-corasick" 7 + version = "0.7.20" 8 source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" 10 dependencies = [ 11 "memchr", 12 ] ··· 21 ] 22 23 [[package]] 24 + name = "anstream" 25 + version = "0.2.6" 26 + source = "registry+https://github.com/rust-lang/crates.io-index" 27 + checksum = "342258dd14006105c2b75ab1bd7543a03bdf0cfc94383303ac212a04939dff6f" 28 + dependencies = [ 29 + "anstyle", 30 + "anstyle-parse", 31 + "anstyle-wincon", 32 + "concolor-override", 33 + "concolor-query", 34 + "is-terminal", 35 + "utf8parse", 36 + ] 37 + 38 + [[package]] 39 + name = "anstyle" 40 + version = "0.3.5" 41 source = "registry+https://github.com/rust-lang/crates.io-index" 42 + checksum = "23ea9e81bd02e310c216d080f6223c179012256e5151c41db88d12c88a1684d2" 43 44 [[package]] 45 + name = "anstyle-parse" 46 + version = "0.1.1" 47 source = "registry+https://github.com/rust-lang/crates.io-index" 48 + checksum = "a7d1bb534e9efed14f3e5f44e7dd1a4f709384023a4165199a4241e18dff0116" 49 + dependencies = [ 50 + "utf8parse", 51 + ] 52 + 53 + [[package]] 54 + name = "anstyle-wincon" 55 + version = "0.2.0" 56 + source = "registry+https://github.com/rust-lang/crates.io-index" 57 + checksum = "c3127af6145b149f3287bb9a0d10ad9c5692dba8c53ad48285e5bec4063834fa" 58 + dependencies = [ 59 + "anstyle", 60 + "windows-sys", 61 + ] 62 63 [[package]] 64 name = "atty" ··· 66 source = "registry+https://github.com/rust-lang/crates.io-index" 67 checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 68 dependencies = [ 69 + "hermit-abi 0.1.19", 70 "libc", 71 "winapi", 72 ] 73 74 [[package]] 75 name = "bindgen" 76 + version = "0.64.0" 77 source = "registry+https://github.com/rust-lang/crates.io-index" 78 + checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" 79 dependencies = [ 80 "bitflags", 81 "cexpr", 82 "clang-sys", 83 "lazy_static", 84 "lazycell", 85 "log", ··· 89 "regex", 90 "rustc-hash", 91 "shlex", 92 + "syn 1.0.109", 93 "which", 94 ] 95 ··· 100 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 101 102 [[package]] 103 name = "block" 104 version = "0.1.6" 105 source = "registry+https://github.com/rust-lang/crates.io-index" 106 checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" 107 108 [[package]] 109 name = "cc" 110 + version = "1.0.79" 111 source = "registry+https://github.com/rust-lang/crates.io-index" 112 + checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" 113 114 [[package]] 115 name = "cexpr" 116 + version = "0.6.0" 117 source = "registry+https://github.com/rust-lang/crates.io-index" 118 + checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" 119 dependencies = [ 120 "nom", 121 ] 122 123 [[package]] 124 name = "cfg-if" 125 version = "1.0.0" 126 source = "registry+https://github.com/rust-lang/crates.io-index" 127 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 128 129 [[package]] 130 name = "clang-sys" 131 + version = "1.6.0" 132 source = "registry+https://github.com/rust-lang/crates.io-index" 133 + checksum = "77ed9a53e5d4d9c573ae844bfac6872b159cb1d1585a83b29e7a64b7eef7332a" 134 dependencies = [ 135 "glob", 136 "libc", ··· 146 "ansi_term", 147 "atty", 148 "bitflags", 149 + "strsim 0.8.0", 150 "textwrap", 151 "unicode-width", 152 "vec_map", 153 + "yaml-rust 0.3.5", 154 + ] 155 + 156 + [[package]] 157 + name = "clap" 158 + version = "4.2.0" 159 + source = "registry+https://github.com/rust-lang/crates.io-index" 160 + checksum = "6efb5f0a41b5ef5b50c5da28c07609c20091df0c1fc33d418fa2a7e693c2b624" 161 + dependencies = [ 162 + "clap_builder", 163 + "clap_derive", 164 + "once_cell", 165 + ] 166 + 167 + [[package]] 168 + name = "clap_builder" 169 + version = "4.2.0" 170 + source = "registry+https://github.com/rust-lang/crates.io-index" 171 + checksum = "671fcaa5debda4b9a84aa7fde49c907c8986c0e6ab927e04217c9cb74e7c8bc9" 172 + dependencies = [ 173 + "anstream", 174 + "anstyle", 175 + "bitflags", 176 + "clap_lex", 177 + "strsim 0.10.0", 178 ] 179 180 [[package]] 181 + name = "clap_derive" 182 + version = "4.2.0" 183 + source = "registry+https://github.com/rust-lang/crates.io-index" 184 + checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" 185 + dependencies = [ 186 + "heck", 187 + "proc-macro2", 188 + "quote", 189 + "syn 2.0.11", 190 + ] 191 + 192 + [[package]] 193 + name = "clap_lex" 194 + version = "0.4.1" 195 + source = "registry+https://github.com/rust-lang/crates.io-index" 196 + checksum = "8a2dd5a6fe8c6e3502f568a6353e5273bbb15193ad9a89e457b9970798efbea1" 197 + 198 + [[package]] 199 name = "clipboard" 200 version = "0.5.0" 201 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 219 220 [[package]] 221 name = "cmake" 222 + version = "0.1.50" 223 source = "registry+https://github.com/rust-lang/crates.io-index" 224 + checksum = "a31c789563b815f77f4250caee12365734369f942439b7defd71e18a48197130" 225 dependencies = [ 226 "cc", 227 ] 228 229 [[package]] 230 + name = "concolor-override" 231 + version = "1.0.0" 232 + source = "registry+https://github.com/rust-lang/crates.io-index" 233 + checksum = "a855d4a1978dc52fb0536a04d384c2c0c1aa273597f08b77c8c4d3b2eec6037f" 234 + 235 + [[package]] 236 + name = "concolor-query" 237 + version = "0.3.3" 238 + source = "registry+https://github.com/rust-lang/crates.io-index" 239 + checksum = "88d11d52c3d7ca2e6d0040212be9e4dbbcd78b6447f535b6b561f449427944cf" 240 + dependencies = [ 241 + "windows-sys", 242 + ] 243 + 244 + [[package]] 245 name = "config" 246 version = "0.0.0" 247 dependencies = [ 248 "glob", 249 + "itertools 0.10.5", 250 "man_dmenu", 251 "prettytable-rs", 252 "termcolor", 253 + "yaml-rust 0.4.5", 254 ] 255 256 [[package]] 257 name = "csv" 258 + version = "1.2.1" 259 source = "registry+https://github.com/rust-lang/crates.io-index" 260 + checksum = "0b015497079b9a9d69c02ad25de6c0a6edef051ea6360a327d0bd05802ef64ad" 261 dependencies = [ 262 "csv-core", 263 "itoa", 264 "ryu", ··· 275 ] 276 277 [[package]] 278 + name = "dirs-next" 279 + version = "2.0.0" 280 + source = "registry+https://github.com/rust-lang/crates.io-index" 281 + checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" 282 + dependencies = [ 283 + "cfg-if", 284 + "dirs-sys-next", 285 + ] 286 + 287 + [[package]] 288 + name = "dirs-sys-next" 289 + version = "0.1.2" 290 source = "registry+https://github.com/rust-lang/crates.io-index" 291 + checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" 292 dependencies = [ 293 "libc", 294 "redox_users", ··· 299 name = "dmenu-build" 300 version = "0.0.0" 301 dependencies = [ 302 + "clap 2.34.0", 303 "clipboard", 304 + "itertools 0.9.0", 305 "lazy_static", 306 "libc", 307 "overrider", ··· 314 "termcolor", 315 "unicode-segmentation", 316 "x11", 317 + "yaml-rust 0.3.5", 318 ] 319 320 [[package]] 321 name = "either" 322 + version = "1.8.1" 323 source = "registry+https://github.com/rust-lang/crates.io-index" 324 + checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" 325 326 [[package]] 327 name = "encode_unicode" 328 + version = "1.0.0" 329 source = "registry+https://github.com/rust-lang/crates.io-index" 330 + checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" 331 332 [[package]] 333 + name = "errno" 334 + version = "0.2.8" 335 source = "registry+https://github.com/rust-lang/crates.io-index" 336 + checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" 337 dependencies = [ 338 + "errno-dragonfly", 339 + "libc", 340 + "winapi", 341 + ] 342 + 343 + [[package]] 344 + name = "errno-dragonfly" 345 + version = "0.1.2" 346 + source = "registry+https://github.com/rust-lang/crates.io-index" 347 + checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" 348 + dependencies = [ 349 + "cc", 350 + "libc", 351 ] 352 353 [[package]] ··· 373 374 [[package]] 375 name = "getrandom" 376 + version = "0.2.8" 377 source = "registry+https://github.com/rust-lang/crates.io-index" 378 + checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" 379 dependencies = [ 380 + "cfg-if", 381 "libc", 382 "wasi", 383 ] 384 385 [[package]] 386 name = "glob" 387 + version = "0.3.1" 388 source = "registry+https://github.com/rust-lang/crates.io-index" 389 + checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 390 391 [[package]] 392 name = "headers" ··· 397 ] 398 399 [[package]] 400 + name = "heck" 401 + version = "0.4.1" 402 + source = "registry+https://github.com/rust-lang/crates.io-index" 403 + checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 404 + 405 + [[package]] 406 name = "hermit-abi" 407 version = "0.1.19" 408 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 412 ] 413 414 [[package]] 415 + name = "hermit-abi" 416 + version = "0.3.1" 417 + source = "registry+https://github.com/rust-lang/crates.io-index" 418 + checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" 419 + 420 + [[package]] 421 + name = "io-lifetimes" 422 + version = "1.0.9" 423 source = "registry+https://github.com/rust-lang/crates.io-index" 424 + checksum = "09270fd4fa1111bc614ed2246c7ef56239a3063d5be0d1ec3b589c505d400aeb" 425 dependencies = [ 426 + "hermit-abi 0.3.1", 427 + "libc", 428 + "windows-sys", 429 + ] 430 + 431 + [[package]] 432 + name = "is-terminal" 433 + version = "0.4.5" 434 + source = "registry+https://github.com/rust-lang/crates.io-index" 435 + checksum = "8687c819457e979cc940d09cb16e42a1bf70aa6b60a549de6d3a62a0ee90c69e" 436 + dependencies = [ 437 + "hermit-abi 0.3.1", 438 + "io-lifetimes", 439 + "rustix", 440 + "windows-sys", 441 ] 442 443 [[package]] ··· 450 ] 451 452 [[package]] 453 + name = "itertools" 454 + version = "0.10.5" 455 + source = "registry+https://github.com/rust-lang/crates.io-index" 456 + checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" 457 + dependencies = [ 458 + "either", 459 + ] 460 + 461 + [[package]] 462 name = "itoa" 463 + version = "1.0.6" 464 source = "registry+https://github.com/rust-lang/crates.io-index" 465 + checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" 466 467 [[package]] 468 name = "lazy_static" ··· 478 479 [[package]] 480 name = "libc" 481 + version = "0.2.140" 482 source = "registry+https://github.com/rust-lang/crates.io-index" 483 + checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" 484 485 [[package]] 486 name = "libloading" 487 + version = "0.7.4" 488 source = "registry+https://github.com/rust-lang/crates.io-index" 489 + checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" 490 dependencies = [ 491 + "cfg-if", 492 "winapi", 493 ] 494 + 495 + [[package]] 496 + name = "linked-hash-map" 497 + version = "0.5.6" 498 + source = "registry+https://github.com/rust-lang/crates.io-index" 499 + checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" 500 + 501 + [[package]] 502 + name = "linux-raw-sys" 503 + version = "0.1.4" 504 + source = "registry+https://github.com/rust-lang/crates.io-index" 505 + checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" 506 507 [[package]] 508 name = "log" ··· 510 source = "registry+https://github.com/rust-lang/crates.io-index" 511 checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" 512 dependencies = [ 513 + "cfg-if", 514 ] 515 516 [[package]] ··· 526 name = "man_dmenu" 527 version = "0.1.0" 528 dependencies = [ 529 + "itertools 0.10.5", 530 ] 531 532 [[package]] ··· 534 version = "2.5.0" 535 source = "registry+https://github.com/rust-lang/crates.io-index" 536 checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 537 + 538 + [[package]] 539 + name = "minimal-lexical" 540 + version = "0.2.1" 541 + source = "registry+https://github.com/rust-lang/crates.io-index" 542 + checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 543 544 [[package]] 545 name = "nom" 546 + version = "7.1.3" 547 source = "registry+https://github.com/rust-lang/crates.io-index" 548 + checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" 549 dependencies = [ 550 "memchr", 551 + "minimal-lexical", 552 ] 553 554 [[package]] ··· 581 ] 582 583 [[package]] 584 + name = "once_cell" 585 + version = "1.17.1" 586 + source = "registry+https://github.com/rust-lang/crates.io-index" 587 + checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" 588 + 589 + [[package]] 590 name = "overrider" 591 version = "0.7.0" 592 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 594 dependencies = [ 595 "proc-macro2", 596 "quote", 597 + "syn 1.0.109", 598 ] 599 600 [[package]] ··· 604 checksum = "1d9709eba39b602b089deaf80b123e5c8ecfd071aab827a66c1a58412074fbcc" 605 dependencies = [ 606 "glob", 607 + "syn 1.0.109", 608 ] 609 610 [[package]] ··· 630 631 [[package]] 632 name = "prettytable-rs" 633 + version = "0.10.0" 634 source = "registry+https://github.com/rust-lang/crates.io-index" 635 + checksum = "eea25e07510aa6ab6547308ebe3c036016d162b8da920dbb079e3ba8acf3d95a" 636 dependencies = [ 637 "csv", 638 "encode_unicode", 639 + "is-terminal", 640 "lazy_static", 641 "term", 642 "unicode-width", ··· 644 645 [[package]] 646 name = "proc-macro2" 647 + version = "1.0.54" 648 source = "registry+https://github.com/rust-lang/crates.io-index" 649 + checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" 650 dependencies = [ 651 "unicode-ident", 652 ] ··· 658 checksum = "fd16b1c456def2ad84b3574651f069541dea178ee688e882943cb21232a5cb01" 659 dependencies = [ 660 "glob", 661 + "itertools 0.9.0", 662 ] 663 664 [[package]] 665 name = "quote" 666 + version = "1.0.26" 667 source = "registry+https://github.com/rust-lang/crates.io-index" 668 + checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" 669 dependencies = [ 670 "proc-macro2", 671 ] 672 673 [[package]] 674 name = "redox_syscall" 675 + version = "0.2.16" 676 source = "registry+https://github.com/rust-lang/crates.io-index" 677 + checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 678 + dependencies = [ 679 + "bitflags", 680 + ] 681 682 [[package]] 683 name = "redox_users" 684 + version = "0.4.3" 685 source = "registry+https://github.com/rust-lang/crates.io-index" 686 + checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" 687 dependencies = [ 688 "getrandom", 689 "redox_syscall", 690 + "thiserror", 691 ] 692 693 [[package]] 694 name = "regex" 695 + version = "1.7.3" 696 source = "registry+https://github.com/rust-lang/crates.io-index" 697 + checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" 698 dependencies = [ 699 "aho-corasick", 700 "memchr", ··· 702 ] 703 704 [[package]] 705 name = "regex-syntax" 706 + version = "0.6.29" 707 source = "registry+https://github.com/rust-lang/crates.io-index" 708 + checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" 709 710 [[package]] 711 name = "rustc-hash" ··· 733 ] 734 735 [[package]] 736 + name = "rustix" 737 + version = "0.36.11" 738 + source = "registry+https://github.com/rust-lang/crates.io-index" 739 + checksum = "db4165c9963ab29e422d6c26fbc1d37f15bace6b2810221f9d925023480fcf0e" 740 + dependencies = [ 741 + "bitflags", 742 + "errno", 743 + "io-lifetimes", 744 + "libc", 745 + "linux-raw-sys", 746 + "windows-sys", 747 + ] 748 + 749 + [[package]] 750 + name = "rustversion" 751 + version = "1.0.12" 752 + source = "registry+https://github.com/rust-lang/crates.io-index" 753 + checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" 754 + 755 + [[package]] 756 name = "ryu" 757 + version = "1.0.13" 758 source = "registry+https://github.com/rust-lang/crates.io-index" 759 + checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" 760 761 [[package]] 762 name = "semver" ··· 775 776 [[package]] 777 name = "serde" 778 + version = "1.0.159" 779 source = "registry+https://github.com/rust-lang/crates.io-index" 780 + checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" 781 782 [[package]] 783 name = "servo-fontconfig" ··· 802 803 [[package]] 804 name = "shlex" 805 + version = "1.1.0" 806 source = "registry+https://github.com/rust-lang/crates.io-index" 807 + checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" 808 + 809 + [[package]] 810 + name = "stest" 811 + version = "0.0.0" 812 + dependencies = [ 813 + "clap 4.2.0", 814 + ] 815 816 [[package]] 817 name = "strsim" ··· 820 checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 821 822 [[package]] 823 + name = "strsim" 824 + version = "0.10.0" 825 + source = "registry+https://github.com/rust-lang/crates.io-index" 826 + checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 827 + 828 + [[package]] 829 name = "syn" 830 + version = "1.0.109" 831 source = "registry+https://github.com/rust-lang/crates.io-index" 832 + checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 833 + dependencies = [ 834 + "proc-macro2", 835 + "quote", 836 + "unicode-ident", 837 + ] 838 + 839 + [[package]] 840 + name = "syn" 841 + version = "2.0.11" 842 + source = "registry+https://github.com/rust-lang/crates.io-index" 843 + checksum = "21e3787bb71465627110e7d87ed4faaa36c1f61042ee67badb9e2ef173accc40" 844 dependencies = [ 845 "proc-macro2", 846 "quote", ··· 849 850 [[package]] 851 name = "term" 852 + version = "0.7.0" 853 source = "registry+https://github.com/rust-lang/crates.io-index" 854 + checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" 855 dependencies = [ 856 + "dirs-next", 857 + "rustversion", 858 "winapi", 859 ] 860 861 [[package]] 862 name = "termcolor" 863 + version = "1.2.0" 864 source = "registry+https://github.com/rust-lang/crates.io-index" 865 + checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" 866 dependencies = [ 867 "winapi-util", 868 ] ··· 877 ] 878 879 [[package]] 880 + name = "thiserror" 881 + version = "1.0.40" 882 + source = "registry+https://github.com/rust-lang/crates.io-index" 883 + checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" 884 + dependencies = [ 885 + "thiserror-impl", 886 + ] 887 + 888 + [[package]] 889 + name = "thiserror-impl" 890 + version = "1.0.40" 891 + source = "registry+https://github.com/rust-lang/crates.io-index" 892 + checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" 893 + dependencies = [ 894 + "proc-macro2", 895 + "quote", 896 + "syn 2.0.11", 897 + ] 898 + 899 + [[package]] 900 name = "unicode-ident" 901 + version = "1.0.8" 902 source = "registry+https://github.com/rust-lang/crates.io-index" 903 + checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" 904 905 [[package]] 906 name = "unicode-segmentation" 907 + version = "1.10.1" 908 source = "registry+https://github.com/rust-lang/crates.io-index" 909 + checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" 910 911 [[package]] 912 name = "unicode-width" ··· 915 checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" 916 917 [[package]] 918 + name = "utf8parse" 919 + version = "0.2.1" 920 source = "registry+https://github.com/rust-lang/crates.io-index" 921 + checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" 922 923 [[package]] 924 + name = "vec_map" 925 + version = "0.8.2" 926 source = "registry+https://github.com/rust-lang/crates.io-index" 927 + checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 928 929 [[package]] 930 name = "wasi" 931 + version = "0.11.0+wasi-snapshot-preview1" 932 source = "registry+https://github.com/rust-lang/crates.io-index" 933 + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 934 935 [[package]] 936 name = "which" 937 + version = "4.4.0" 938 source = "registry+https://github.com/rust-lang/crates.io-index" 939 + checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" 940 dependencies = [ 941 + "either", 942 "libc", 943 + "once_cell", 944 ] 945 946 [[package]] ··· 975 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 976 977 [[package]] 978 + name = "windows-sys" 979 + version = "0.45.0" 980 + source = "registry+https://github.com/rust-lang/crates.io-index" 981 + checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 982 + dependencies = [ 983 + "windows-targets", 984 + ] 985 + 986 + [[package]] 987 + name = "windows-targets" 988 + version = "0.42.2" 989 + source = "registry+https://github.com/rust-lang/crates.io-index" 990 + checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 991 + dependencies = [ 992 + "windows_aarch64_gnullvm", 993 + "windows_aarch64_msvc", 994 + "windows_i686_gnu", 995 + "windows_i686_msvc", 996 + "windows_x86_64_gnu", 997 + "windows_x86_64_gnullvm", 998 + "windows_x86_64_msvc", 999 + ] 1000 + 1001 + [[package]] 1002 + name = "windows_aarch64_gnullvm" 1003 + version = "0.42.2" 1004 + source = "registry+https://github.com/rust-lang/crates.io-index" 1005 + checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 1006 + 1007 + [[package]] 1008 + name = "windows_aarch64_msvc" 1009 + version = "0.42.2" 1010 + source = "registry+https://github.com/rust-lang/crates.io-index" 1011 + checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 1012 + 1013 + [[package]] 1014 + name = "windows_i686_gnu" 1015 + version = "0.42.2" 1016 + source = "registry+https://github.com/rust-lang/crates.io-index" 1017 + checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 1018 + 1019 + [[package]] 1020 + name = "windows_i686_msvc" 1021 + version = "0.42.2" 1022 + source = "registry+https://github.com/rust-lang/crates.io-index" 1023 + checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 1024 + 1025 + [[package]] 1026 + name = "windows_x86_64_gnu" 1027 + version = "0.42.2" 1028 + source = "registry+https://github.com/rust-lang/crates.io-index" 1029 + checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 1030 + 1031 + [[package]] 1032 + name = "windows_x86_64_gnullvm" 1033 + version = "0.42.2" 1034 + source = "registry+https://github.com/rust-lang/crates.io-index" 1035 + checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 1036 + 1037 + [[package]] 1038 + name = "windows_x86_64_msvc" 1039 + version = "0.42.2" 1040 + source = "registry+https://github.com/rust-lang/crates.io-index" 1041 + checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 1042 + 1043 + [[package]] 1044 name = "x11" 1045 + version = "2.21.0" 1046 source = "registry+https://github.com/rust-lang/crates.io-index" 1047 + checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e" 1048 dependencies = [ 1049 "libc", 1050 "pkg-config", ··· 1074 version = "0.3.5" 1075 source = "registry+https://github.com/rust-lang/crates.io-index" 1076 checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992" 1077 + 1078 + [[package]] 1079 + name = "yaml-rust" 1080 + version = "0.4.5" 1081 + source = "registry+https://github.com/rust-lang/crates.io-index" 1082 + checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" 1083 + dependencies = [ 1084 + "linked-hash-map", 1085 + ]
+15 -16
pkgs/applications/misc/dmenu-rs/default.nix
··· 2 , rustPlatform 3 , lib 4 , fetchFromGitHub 5 , cargo 6 , expat 7 , fontconfig ··· 18 # See: https://github.com/Shizcow/dmenu-rs#plugins 19 stdenv.mkDerivation rec { 20 pname = "dmenu-rs"; 21 - version = "5.5.1"; 22 23 src = fetchFromGitHub { 24 owner = "Shizcow"; 25 repo = pname; 26 rev = version; 27 - sha256 = "sha256-WpDqBjIZ5ESnoRtWZmvm+gNTLKqxL4IibRVCj0yRIFM="; 28 }; 29 30 nativeBuildInputs = [ ··· 51 lockFile = ./Cargo.lock; 52 }; 53 54 - # The rust-xcb dependency dynamically generates rust code at build time. 55 - # This derivation uses nixpkgs rust functions that vendor each cargo 56 - # dependency's source code into the READ-ONLY nix store. To avoid the code 57 - # generation step failing, we copy the rust-xcb source out of the nix store 58 - # and make it writeable. Also, we remove the build's hardcoded c compiler. 59 - # See: https://github.com/rust-x-bindings/rust-xcb/tree/v0.8.2 60 postPatch = '' 61 - substituteInPlace config.mk --replace "clang" "" 62 - 63 - chmod +w "$NIX_BUILD_TOP/cargo-vendor-dir" 64 - mkdir -p "$NIX_BUILD_TOP/cargo-vendor-dir/xcb-0.8.2-readwrite" 65 - cp -r --no-preserve=mod "$NIX_BUILD_TOP/cargo-vendor-dir/xcb-0.8.2/." "$NIX_BUILD_TOP/cargo-vendor-dir/xcb-0.8.2-readwrite" 66 - unlink "$NIX_BUILD_TOP/cargo-vendor-dir/xcb-0.8.2" 67 - mv "$NIX_BUILD_TOP/cargo-vendor-dir/xcb-0.8.2-readwrite" "$NIX_BUILD_TOP/cargo-vendor-dir/xcb-0.8.2" 68 - 69 cp ${./Cargo.lock} src/Cargo.lock 70 ''; 71
··· 2 , rustPlatform 3 , lib 4 , fetchFromGitHub 5 + , fetchpatch 6 , cargo 7 , expat 8 , fontconfig ··· 19 # See: https://github.com/Shizcow/dmenu-rs#plugins 20 stdenv.mkDerivation rec { 21 pname = "dmenu-rs"; 22 + version = "5.5.2"; 23 24 src = fetchFromGitHub { 25 owner = "Shizcow"; 26 repo = pname; 27 rev = version; 28 + sha256 = "sha256-6yO2S6j/BD6x/bsuTFKAKvARl1n94KRiPwpmswmUOPU="; 29 }; 30 31 nativeBuildInputs = [ ··· 52 lockFile = ./Cargo.lock; 53 }; 54 55 + # Fix a bug in the makefile when installing. 56 + # See https://github.com/Shizcow/dmenu-rs/pull/50 57 + patches = let 58 + fix-broken-make-install-patch = fetchpatch { 59 + url = "https://github.com/Shizcow/dmenu-rs/commit/1f4b3f8a07d73272f8c6f19bfb6ff3de5e042815.patch"; 60 + sha256 = "sha256-hmXApWg8qngc1vHkHUnB7Lt7wQUOyCSsBmn4HC1j53M="; 61 + }; 62 + in [ 63 + fix-broken-make-install-patch 64 + ]; 65 + 66 + # Copy the Cargo.lock stored here in nixpkgs into the build directory. 67 postPatch = '' 68 cp ${./Cargo.lock} src/Cargo.lock 69 ''; 70