Merge master into haskell-updates

authored by github-actions[bot] and committed by GitHub 593e70f6 2d1b5aa1

+2356 -1066
+156 -138
lib/licenses.nix
··· 1 1 { lib }: 2 - let 3 2 4 - spdx = lic: lic // { 5 - url = "https://spdx.org/licenses/${lic.spdxId}.html"; 3 + lib.mapAttrs (lname: lset: let 4 + defaultLicense = rec { 5 + shortName = lname; 6 + free = true; # Most of our licenses are Free, explicitly declare unfree additions as such! 7 + deprecated = false; 6 8 }; 7 9 8 - in 9 - 10 - lib.mapAttrs (n: v: v // { shortName = n; }) ({ 10 + mkLicense = licenseDeclaration: let 11 + applyDefaults = license: defaultLicense // license; 12 + applySpdx = license: 13 + if license ? spdxId 14 + then license // { url = "https://spdx.org/licenses/${license.spdxId}.html"; } 15 + else license; 16 + applyRedistributable = license: { redistributable = license.free; } // license; 17 + in lib.pipe licenseDeclaration [ 18 + applyDefaults 19 + applySpdx 20 + applyRedistributable 21 + ]; 22 + in mkLicense lset) ({ 11 23 /* License identifiers from spdx.org where possible. 12 24 * If you cannot find your license here, then look for a similar license or 13 25 * add it to this list. The URL mentioned above is a good source for inspiration. 14 26 */ 15 27 16 - abstyles = spdx { 28 + abstyles = { 17 29 spdxId = "Abstyles"; 18 30 fullName = "Abstyles License"; 19 31 }; 20 32 21 - afl20 = spdx { 33 + afl20 = { 22 34 spdxId = "AFL-2.0"; 23 35 fullName = "Academic Free License v2.0"; 24 36 }; 25 37 26 - afl21 = spdx { 38 + afl21 = { 27 39 spdxId = "AFL-2.1"; 28 40 fullName = "Academic Free License v2.1"; 29 41 }; 30 42 31 - afl3 = spdx { 43 + afl3 = { 32 44 spdxId = "AFL-3.0"; 33 45 fullName = "Academic Free License v3.0"; 34 46 }; 35 47 36 - agpl3Only = spdx { 48 + agpl3Only = { 37 49 spdxId = "AGPL-3.0-only"; 38 50 fullName = "GNU Affero General Public License v3.0 only"; 39 51 }; 40 52 41 - agpl3Plus = spdx { 53 + agpl3Plus = { 42 54 spdxId = "AGPL-3.0-or-later"; 43 55 fullName = "GNU Affero General Public License v3.0 or later"; 44 56 }; ··· 55 67 free = false; 56 68 }; 57 69 58 - apsl20 = spdx { 70 + apsl20 = { 59 71 spdxId = "APSL-2.0"; 60 72 fullName = "Apple Public Source License 2.0"; 61 73 }; ··· 65 77 url = "https://www.freedesktop.org/wiki/Arphic_Public_License/"; 66 78 }; 67 79 68 - artistic1 = spdx { 80 + artistic1 = { 69 81 spdxId = "Artistic-1.0"; 70 82 fullName = "Artistic License 1.0"; 71 83 }; 72 84 73 - artistic2 = spdx { 85 + artistic2 = { 74 86 spdxId = "Artistic-2.0"; 75 87 fullName = "Artistic License 2.0"; 76 88 }; 77 89 78 - asl20 = spdx { 90 + asl20 = { 79 91 spdxId = "Apache-2.0"; 80 92 fullName = "Apache License 2.0"; 81 93 }; 82 94 83 - boost = spdx { 95 + boost = { 84 96 spdxId = "BSL-1.0"; 85 97 fullName = "Boost Software License 1.0"; 86 98 }; 87 99 88 - beerware = spdx { 100 + beerware = { 89 101 spdxId = "Beerware"; 90 102 fullName = "Beerware License"; 91 103 }; 92 104 93 - blueOak100 = spdx { 105 + blueOak100 = { 94 106 spdxId = "BlueOak-1.0.0"; 95 107 fullName = "Blue Oak Model License 1.0.0"; 96 108 }; 97 109 98 - bsd0 = spdx { 110 + bsd0 = { 99 111 spdxId = "0BSD"; 100 112 fullName = "BSD Zero Clause License"; 101 113 }; 102 114 103 - bsd1 = spdx { 115 + bsd1 = { 104 116 spdxId = "BSD-1-Clause"; 105 117 fullName = "BSD 1-Clause License"; 106 118 }; 107 119 108 - bsd2 = spdx { 120 + bsd2 = { 109 121 spdxId = "BSD-2-Clause"; 110 122 fullName = ''BSD 2-clause "Simplified" License''; 111 123 }; 112 124 113 - bsd2Patent = spdx { 125 + bsd2Patent = { 114 126 spdxId = "BSD-2-Clause-Patent"; 115 127 fullName = "BSD-2-Clause Plus Patent License"; 116 128 }; 117 129 118 - bsd3 = spdx { 130 + bsd3 = { 119 131 spdxId = "BSD-3-Clause"; 120 132 fullName = ''BSD 3-clause "New" or "Revised" License''; 121 133 }; 122 134 123 - bsdOriginal = spdx { 135 + bsdOriginal = { 124 136 spdxId = "BSD-4-Clause"; 125 137 fullName = ''BSD 4-clause "Original" or "Old" License''; 126 138 }; 127 139 128 - bsdOriginalUC = spdx { 140 + bsdOriginalUC = { 129 141 spdxId = "BSD-4-Clause-UC"; 130 142 fullName = "BSD 4-Clause University of California-Specific"; 131 143 }; 132 144 133 - bsdProtection = spdx { 145 + bsdProtection = { 134 146 spdxId = "BSD-Protection"; 135 147 fullName = "BSD Protection License"; 136 148 }; ··· 141 153 free = false; 142 154 }; 143 155 144 - clArtistic = spdx { 156 + clArtistic = { 145 157 spdxId = "ClArtistic"; 146 158 fullName = "Clarified Artistic License"; 147 159 }; 148 160 149 - cc0 = spdx { 161 + cc0 = { 150 162 spdxId = "CC0-1.0"; 151 163 fullName = "Creative Commons Zero v1.0 Universal"; 152 164 }; 153 165 154 - cc-by-nc-sa-20 = spdx { 166 + cc-by-nc-sa-20 = { 155 167 spdxId = "CC-BY-NC-SA-2.0"; 156 168 fullName = "Creative Commons Attribution Non Commercial Share Alike 2.0"; 157 169 free = false; 158 170 }; 159 171 160 - cc-by-nc-sa-25 = spdx { 172 + cc-by-nc-sa-25 = { 161 173 spdxId = "CC-BY-NC-SA-2.5"; 162 174 fullName = "Creative Commons Attribution Non Commercial Share Alike 2.5"; 163 175 free = false; 164 176 }; 165 177 166 - cc-by-nc-sa-30 = spdx { 178 + cc-by-nc-sa-30 = { 167 179 spdxId = "CC-BY-NC-SA-3.0"; 168 180 fullName = "Creative Commons Attribution Non Commercial Share Alike 3.0"; 169 181 free = false; 170 182 }; 171 183 172 - cc-by-nc-sa-40 = spdx { 184 + cc-by-nc-sa-40 = { 173 185 spdxId = "CC-BY-NC-SA-4.0"; 174 186 fullName = "Creative Commons Attribution Non Commercial Share Alike 4.0"; 175 187 free = false; 176 188 }; 177 189 178 - cc-by-nc-30 = spdx { 190 + cc-by-nc-30 = { 179 191 spdxId = "CC-BY-NC-3.0"; 180 192 fullName = "Creative Commons Attribution Non Commercial 3.0 Unported"; 181 193 free = false; 182 194 }; 183 195 184 - cc-by-nc-40 = spdx { 196 + cc-by-nc-40 = { 185 197 spdxId = "CC-BY-NC-4.0"; 186 198 fullName = "Creative Commons Attribution Non Commercial 4.0 International"; 187 199 free = false; 188 200 }; 189 201 190 - cc-by-nd-30 = spdx { 202 + cc-by-nd-30 = { 191 203 spdxId = "CC-BY-ND-3.0"; 192 204 fullName = "Creative Commons Attribution-No Derivative Works v3.00"; 193 205 free = false; 194 206 }; 195 207 196 - cc-by-sa-25 = spdx { 208 + cc-by-sa-25 = { 197 209 spdxId = "CC-BY-SA-2.5"; 198 210 fullName = "Creative Commons Attribution Share Alike 2.5"; 199 211 }; 200 212 201 - cc-by-30 = spdx { 213 + cc-by-30 = { 202 214 spdxId = "CC-BY-3.0"; 203 215 fullName = "Creative Commons Attribution 3.0"; 204 216 }; 205 217 206 - cc-by-sa-30 = spdx { 218 + cc-by-sa-30 = { 207 219 spdxId = "CC-BY-SA-3.0"; 208 220 fullName = "Creative Commons Attribution Share Alike 3.0"; 209 221 }; 210 222 211 - cc-by-40 = spdx { 223 + cc-by-40 = { 212 224 spdxId = "CC-BY-4.0"; 213 225 fullName = "Creative Commons Attribution 4.0"; 214 226 }; 215 227 216 - cc-by-sa-40 = spdx { 228 + cc-by-sa-40 = { 217 229 spdxId = "CC-BY-SA-4.0"; 218 230 fullName = "Creative Commons Attribution Share Alike 4.0"; 219 231 }; 220 232 221 - cddl = spdx { 233 + cddl = { 222 234 spdxId = "CDDL-1.0"; 223 235 fullName = "Common Development and Distribution License 1.0"; 224 236 }; 225 237 226 - cecill20 = spdx { 238 + cecill20 = { 227 239 spdxId = "CECILL-2.0"; 228 240 fullName = "CeCILL Free Software License Agreement v2.0"; 229 241 }; 230 242 231 - cecill-b = spdx { 243 + cecill-b = { 232 244 spdxId = "CECILL-B"; 233 245 fullName = "CeCILL-B Free Software License Agreement"; 234 246 }; 235 247 236 - cecill-c = spdx { 248 + cecill-c = { 237 249 spdxId = "CECILL-C"; 238 250 fullName = "CeCILL-C Free Software License Agreement"; 239 251 }; 240 252 241 - cpal10 = spdx { 253 + cpal10 = { 242 254 spdxId = "CPAL-1.0"; 243 255 fullName = "Common Public Attribution License 1.0"; 244 256 }; 245 257 246 - cpl10 = spdx { 258 + cpl10 = { 247 259 spdxId = "CPL-1.0"; 248 260 fullName = "Common Public License 1.0"; 249 261 }; 250 262 251 - curl = spdx { 263 + curl = { 252 264 spdxId = "curl"; 253 265 fullName = "curl License"; 254 266 }; 255 267 256 - doc = spdx { 268 + doc = { 257 269 spdxId = "DOC"; 258 270 fullName = "DOC License"; 259 271 }; ··· 264 276 free = false; 265 277 }; 266 278 267 - efl10 = spdx { 279 + efl10 = { 268 280 spdxId = "EFL-1.0"; 269 281 fullName = "Eiffel Forum License v1.0"; 270 282 }; 271 283 272 - efl20 = spdx { 284 + efl20 = { 273 285 spdxId = "EFL-2.0"; 274 286 fullName = "Eiffel Forum License v2.0"; 275 287 }; ··· 280 292 free = false; 281 293 }; 282 294 283 - epl10 = spdx { 295 + epl10 = { 284 296 spdxId = "EPL-1.0"; 285 297 fullName = "Eclipse Public License 1.0"; 286 298 }; 287 299 288 - epl20 = spdx { 300 + epl20 = { 289 301 spdxId = "EPL-2.0"; 290 302 fullName = "Eclipse Public License 2.0"; 291 303 }; ··· 296 308 free = false; 297 309 }; 298 310 299 - eupl11 = spdx { 311 + eupl11 = { 300 312 spdxId = "EUPL-1.1"; 301 313 fullName = "European Union Public License 1.1"; 302 314 }; 303 315 304 - eupl12 = spdx { 316 + eupl12 = { 305 317 spdxId = "EUPL-1.2"; 306 318 fullName = "European Union Public License 1.2"; 307 319 }; 308 320 309 - fdl11Only = spdx { 321 + fdl11Only = { 310 322 spdxId = "GFDL-1.1-only"; 311 323 fullName = "GNU Free Documentation License v1.1 only"; 312 324 }; 313 325 314 - fdl11Plus = spdx { 326 + fdl11Plus = { 315 327 spdxId = "GFDL-1.1-or-later"; 316 328 fullName = "GNU Free Documentation License v1.1 or later"; 317 329 }; 318 330 319 - fdl12Only = spdx { 331 + fdl12Only = { 320 332 spdxId = "GFDL-1.2-only"; 321 333 fullName = "GNU Free Documentation License v1.2 only"; 322 334 }; 323 335 324 - fdl12Plus = spdx { 336 + fdl12Plus = { 325 337 spdxId = "GFDL-1.2-or-later"; 326 338 fullName = "GNU Free Documentation License v1.2 or later"; 327 339 }; 328 340 329 - fdl13Only = spdx { 341 + fdl13Only = { 330 342 spdxId = "GFDL-1.3-only"; 331 343 fullName = "GNU Free Documentation License v1.3 only"; 332 344 }; 333 345 334 - fdl13Plus = spdx { 346 + fdl13Plus = { 335 347 spdxId = "GFDL-1.3-or-later"; 336 348 fullName = "GNU Free Documentation License v1.3 or later"; 337 349 }; ··· 346 358 fullName = "Unspecified free software license"; 347 359 }; 348 360 349 - ftl = spdx { 361 + ftl = { 350 362 spdxId = "FTL"; 351 363 fullName = "Freetype Project License"; 352 364 }; ··· 362 374 free = false; 363 375 }; 364 376 365 - gpl1Only = spdx { 377 + gpl1Only = { 366 378 spdxId = "GPL-1.0-only"; 367 379 fullName = "GNU General Public License v1.0 only"; 368 380 }; 369 381 370 - gpl1Plus = spdx { 382 + gpl1Plus = { 371 383 spdxId = "GPL-1.0-or-later"; 372 384 fullName = "GNU General Public License v1.0 or later"; 373 385 }; 374 386 375 - gpl2Only = spdx { 387 + gpl2Only = { 376 388 spdxId = "GPL-2.0-only"; 377 389 fullName = "GNU General Public License v2.0 only"; 378 390 }; 379 391 380 - gpl2Classpath = spdx { 392 + gpl2Classpath = { 381 393 spdxId = "GPL-2.0-with-classpath-exception"; 382 394 fullName = "GNU General Public License v2.0 only (with Classpath exception)"; 383 395 }; ··· 392 404 url = "https://www.mysql.com/about/legal/licensing/foss-exception"; 393 405 }; 394 406 395 - gpl2Plus = spdx { 407 + gpl2Plus = { 396 408 spdxId = "GPL-2.0-or-later"; 397 409 fullName = "GNU General Public License v2.0 or later"; 398 410 }; 399 411 400 - gpl3Only = spdx { 412 + gpl3Only = { 401 413 spdxId = "GPL-3.0-only"; 402 414 fullName = "GNU General Public License v3.0 only"; 403 415 }; 404 416 405 - gpl3Plus = spdx { 417 + gpl3Plus = { 406 418 spdxId = "GPL-3.0-or-later"; 407 419 fullName = "GNU General Public License v3.0 or later"; 408 420 }; ··· 412 424 url = "https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception"; 413 425 }; 414 426 415 - hpnd = spdx { 427 + hpnd = { 416 428 spdxId = "HPND"; 417 429 fullName = "Historic Permission Notice and Disclaimer"; 418 430 }; 419 431 420 - hpndSellVariant = spdx { 432 + hpndSellVariant = { 421 433 fullName = "Historical Permission Notice and Disclaimer - sell variant"; 422 434 spdxId = "HPND-sell-variant"; 423 435 }; ··· 428 440 url = "https://old.calculate-linux.org/packages/licenses/iASL"; 429 441 }; 430 442 431 - ijg = spdx { 443 + ijg = { 432 444 spdxId = "IJG"; 433 445 fullName = "Independent JPEG Group License"; 434 446 }; 435 447 436 - imagemagick = spdx { 448 + imagemagick = { 437 449 fullName = "ImageMagick License"; 438 450 spdxId = "imagemagick"; 439 451 }; ··· 450 462 free = false; 451 463 }; 452 464 453 - ipa = spdx { 465 + ipa = { 454 466 spdxId = "IPA"; 455 467 fullName = "IPA Font License"; 456 468 }; 457 469 458 - ipl10 = spdx { 470 + ipl10 = { 459 471 spdxId = "IPL-1.0"; 460 472 fullName = "IBM Public License v1.0"; 461 473 }; 462 474 463 - isc = spdx { 475 + isc = { 464 476 spdxId = "ISC"; 465 477 fullName = "ISC License"; 466 478 }; ··· 478 490 free = false; 479 491 }; 480 492 481 - lgpl2Only = spdx { 493 + lgpl2Only = { 482 494 spdxId = "LGPL-2.0-only"; 483 495 fullName = "GNU Library General Public License v2 only"; 484 496 }; 485 497 486 - lgpl2Plus = spdx { 498 + lgpl2Plus = { 487 499 spdxId = "LGPL-2.0-or-later"; 488 500 fullName = "GNU Library General Public License v2 or later"; 489 501 }; 490 502 491 - lgpl21Only = spdx { 503 + lgpl21Only = { 492 504 spdxId = "LGPL-2.1-only"; 493 505 fullName = "GNU Lesser General Public License v2.1 only"; 494 506 }; 495 507 496 - lgpl21Plus = spdx { 508 + lgpl21Plus = { 497 509 spdxId = "LGPL-2.1-or-later"; 498 510 fullName = "GNU Lesser General Public License v2.1 or later"; 499 511 }; 500 512 501 - lgpl3Only = spdx { 513 + lgpl3Only = { 502 514 spdxId = "LGPL-3.0-only"; 503 515 fullName = "GNU Lesser General Public License v3.0 only"; 504 516 }; 505 517 506 - lgpl3Plus = spdx { 518 + lgpl3Plus = { 507 519 spdxId = "LGPL-3.0-or-later"; 508 520 fullName = "GNU Lesser General Public License v3.0 or later"; 509 521 }; 510 522 511 - lgpllr = spdx { 523 + lgpllr = { 512 524 spdxId = "LGPLLR"; 513 525 fullName = "Lesser General Public License For Linguistic Resources"; 514 526 }; 515 527 516 - libpng = spdx { 528 + libpng = { 517 529 spdxId = "Libpng"; 518 530 fullName = "libpng License"; 519 531 }; 520 532 521 - libpng2 = spdx { 533 + libpng2 = { 522 534 spdxId = "libpng-2.0"; # Used since libpng 1.6.36. 523 535 fullName = "PNG Reference Library version 2"; 524 536 }; 525 537 526 - libtiff = spdx { 538 + libtiff = { 527 539 spdxId = "libtiff"; 528 540 fullName = "libtiff License"; 529 541 }; ··· 533 545 url = "https://opensource.franz.com/preamble.html"; 534 546 }; 535 547 536 - llvm-exception = spdx { 548 + llvm-exception = { 537 549 spdxId = "LLVM-exception"; 538 550 fullName = "LLVM Exception"; # LLVM exceptions to the Apache 2.0 License 539 551 }; 540 552 541 - lppl12 = spdx { 553 + lppl12 = { 542 554 spdxId = "LPPL-1.2"; 543 555 fullName = "LaTeX Project Public License v1.2"; 544 556 }; 545 557 546 - lppl13c = spdx { 558 + lppl13c = { 547 559 spdxId = "LPPL-1.3c"; 548 560 fullName = "LaTeX Project Public License v1.3c"; 549 561 }; 550 562 551 - lpl-102 = spdx { 563 + lpl-102 = { 552 564 spdxId = "LPL-1.02"; 553 565 fullName = "Lucent Public License v1.02"; 554 566 }; ··· 560 572 561 573 # spdx.org does not (yet) differentiate between the X11 and Expat versions 562 574 # for details see https://en.wikipedia.org/wiki/MIT_License#Various_versions 563 - mit = spdx { 575 + mit = { 564 576 spdxId = "MIT"; 565 577 fullName = "MIT License"; 566 578 }; 567 579 568 - mpl10 = spdx { 580 + mpl10 = { 569 581 spdxId = "MPL-1.0"; 570 582 fullName = "Mozilla Public License 1.0"; 571 583 }; 572 584 573 - mpl11 = spdx { 585 + mpl11 = { 574 586 spdxId = "MPL-1.1"; 575 587 fullName = "Mozilla Public License 1.1"; 576 588 }; 577 589 578 - mpl20 = spdx { 590 + mpl20 = { 579 591 spdxId = "MPL-2.0"; 580 592 fullName = "Mozilla Public License 2.0"; 581 593 }; 582 594 583 - mspl = spdx { 595 + mspl = { 584 596 spdxId = "MS-PL"; 585 597 fullName = "Microsoft Public License"; 586 598 }; 587 599 588 - nasa13 = spdx { 600 + nasa13 = { 589 601 spdxId = "NASA-1.3"; 590 602 fullName = "NASA Open Source Agreement 1.3"; 591 603 free = false; 592 604 }; 593 605 594 - ncsa = spdx { 606 + ncsa = { 595 607 spdxId = "NCSA"; 596 608 fullName = "University of Illinois/NCSA Open Source License"; 597 609 }; 598 610 599 - nposl3 = spdx { 611 + nposl3 = { 600 612 spdxId = "NPOSL-3.0"; 601 613 fullName = "Non-Profit Open Software License 3.0"; 602 614 }; ··· 613 625 free = false; 614 626 }; 615 627 616 - odbl = spdx { 628 + odbl = { 617 629 spdxId = "ODbL-1.0"; 618 630 fullName = "Open Data Commons Open Database License v1.0"; 619 631 }; 620 632 621 - ofl = spdx { 633 + ofl = { 622 634 spdxId = "OFL-1.1"; 623 635 fullName = "SIL Open Font License 1.1"; 624 636 }; 625 637 626 - openldap = spdx { 638 + openldap = { 627 639 spdxId = "OLDAP-2.8"; 628 640 fullName = "Open LDAP Public License v2.8"; 629 641 }; 630 642 631 - openssl = spdx { 643 + openssl = { 632 644 spdxId = "OpenSSL"; 633 645 fullName = "OpenSSL License"; 634 646 }; 635 647 636 - osl2 = spdx { 648 + osl2 = { 637 649 spdxId = "OSL-2.0"; 638 650 fullName = "Open Software License 2.0"; 639 651 }; 640 652 641 - osl21 = spdx { 653 + osl21 = { 642 654 spdxId = "OSL-2.1"; 643 655 fullName = "Open Software License 2.1"; 644 656 }; 645 657 646 - osl3 = spdx { 658 + osl3 = { 647 659 spdxId = "OSL-3.0"; 648 660 fullName = "Open Software License 3.0"; 649 661 }; 650 662 651 - parity70 = spdx { 663 + parity70 = { 652 664 spdxId = "Parity-7.0.0"; 653 665 fullName = "Parity Public License 7.0.0"; 654 666 url = "https://paritylicense.com/versions/7.0.0.html"; 655 667 }; 656 668 657 - php301 = spdx { 669 + php301 = { 658 670 spdxId = "PHP-3.01"; 659 671 fullName = "PHP License v3.01"; 660 672 }; 661 673 662 - postgresql = spdx { 674 + postgresql = { 663 675 spdxId = "PostgreSQL"; 664 676 fullName = "PostgreSQL License"; 665 677 }; ··· 670 682 free = false; 671 683 }; 672 684 673 - psfl = spdx { 685 + psfl = { 674 686 spdxId = "Python-2.0"; 675 687 fullName = "Python Software Foundation License version 2"; 676 688 url = "https://docs.python.org/license.html"; ··· 691 703 url = "https://prosperitylicense.com/versions/3.0.0.html"; 692 704 }; 693 705 694 - qhull = spdx { 706 + qhull = { 695 707 spdxId = "Qhull"; 696 708 fullName = "Qhull License"; 697 709 }; 698 710 699 - qpl = spdx { 711 + qpl = { 700 712 spdxId = "QPL-1.0"; 701 713 fullName = "Q Public License 1.0"; 702 714 }; ··· 706 718 url = "https://qwt.sourceforge.io/qwtlicense.html"; 707 719 }; 708 720 709 - ruby = spdx { 721 + ruby = { 710 722 spdxId = "Ruby"; 711 723 fullName = "Ruby License"; 712 724 }; 713 725 714 - sendmail = spdx { 726 + sendmail = { 715 727 spdxId = "Sendmail"; 716 728 fullName = "Sendmail License"; 717 729 }; 718 730 719 - sgi-b-20 = spdx { 731 + sgi-b-20 = { 720 732 spdxId = "SGI-B-2.0"; 721 733 fullName = "SGI Free Software License B v2.0"; 722 734 }; 723 735 724 - sleepycat = spdx { 736 + sleepycat = { 725 737 spdxId = "Sleepycat"; 726 738 fullName = "Sleepycat License"; 727 739 }; ··· 737 749 fullName = "Server Side Public License"; 738 750 url = "https://www.mongodb.com/licensing/server-side-public-license"; 739 751 free = false; 752 + # NOTE Debatable. 753 + # The license a slightly modified AGPL but still considered unfree by the 754 + # OSI for what seem like political reasons 755 + redistributable = true; # Definitely redistributable though, it's an AGPL derivative 740 756 }; 741 757 742 758 stk = { ··· 745 761 url = "https://github.com/thestk/stk/blob/master/LICENSE"; 746 762 }; 747 763 748 - tcltk = spdx { 764 + tcltk = { 749 765 spdxId = "TCL"; 750 766 fullName = "TCL/TK License"; 751 767 }; ··· 763 779 unfreeRedistributable = { 764 780 fullName = "Unfree redistributable"; 765 781 free = false; 782 + redistributable = true; 766 783 }; 767 784 768 785 unfreeRedistributableFirmware = { 769 786 fullName = "Unfree redistributable firmware"; 787 + redistributable = true; 770 788 # Note: we currently consider these "free" for inclusion in the 771 789 # channel and NixOS images. 772 790 }; 773 791 774 - unicode-dfs-2015 = spdx { 792 + unicode-dfs-2015 = { 775 793 spdxId = "Unicode-DFS-2015"; 776 794 fullName = "Unicode License Agreement - Data Files and Software (2015)"; 777 795 }; 778 796 779 - unicode-dfs-2016 = spdx { 797 + unicode-dfs-2016 = { 780 798 spdxId = "Unicode-DFS-2016"; 781 799 fullName = "Unicode License Agreement - Data Files and Software (2016)"; 782 800 }; 783 801 784 - unlicense = spdx { 802 + unlicense = { 785 803 spdxId = "Unlicense"; 786 804 fullName = "The Unlicense"; 787 805 }; ··· 791 809 url = "https://oss.oracle.com/licenses/upl/"; 792 810 }; 793 811 794 - vim = spdx { 812 + vim = { 795 813 spdxId = "Vim"; 796 814 fullName = "Vim License"; 797 815 }; ··· 802 820 free = false; 803 821 }; 804 822 805 - vsl10 = spdx { 823 + vsl10 = { 806 824 spdxId = "VSL-1.0"; 807 825 fullName = "Vovida Software License v1.0"; 808 826 }; 809 827 810 - watcom = spdx { 828 + watcom = { 811 829 spdxId = "Watcom-1.0"; 812 830 fullName = "Sybase Open Watcom Public License 1.0"; 813 831 }; 814 832 815 - w3c = spdx { 833 + w3c = { 816 834 spdxId = "W3C"; 817 835 fullName = "W3C Software Notice and License"; 818 836 }; ··· 822 840 url = "https://fedoraproject.org/wiki/Licensing:Wadalab?rd=Licensing/Wadalab"; 823 841 }; 824 842 825 - wtfpl = spdx { 843 + wtfpl = { 826 844 spdxId = "WTFPL"; 827 845 fullName = "Do What The F*ck You Want To Public License"; 828 846 }; 829 847 830 - wxWindows = spdx { 848 + wxWindows = { 831 849 spdxId = "wxWindows"; 832 850 fullName = "wxWindows Library Licence, Version 3.1"; 833 851 }; ··· 837 855 url = "http://mcj.sourceforge.net/authors.html#xfig"; # https is broken 838 856 }; 839 857 840 - zlib = spdx { 858 + zlib = { 841 859 spdxId = "Zlib"; 842 860 fullName = "zlib License"; 843 861 }; 844 862 845 - zpl20 = spdx { 863 + zpl20 = { 846 864 spdxId = "ZPL-2.0"; 847 865 fullName = "Zope Public License 2.0"; 848 866 }; 849 867 850 - zpl21 = spdx { 868 + zpl21 = { 851 869 spdxId = "ZPL-2.1"; 852 870 fullName = "Zope Public License 2.1"; 853 871 }; 854 872 } // { 855 873 # TODO: remove legacy aliases 856 - agpl3 = spdx { 874 + agpl3 = { 857 875 spdxId = "AGPL-3.0"; 858 876 fullName = "GNU Affero General Public License v3.0"; 859 877 deprecated = true; 860 878 }; 861 - fdl11 = spdx { 879 + fdl11 = { 862 880 spdxId = "GFDL-1.1"; 863 881 fullName = "GNU Free Documentation License v1.1"; 864 882 deprecated = true; 865 883 }; 866 - fdl12 = spdx { 884 + fdl12 = { 867 885 spdxId = "GFDL-1.2"; 868 886 fullName = "GNU Free Documentation License v1.2"; 869 887 deprecated = true; 870 888 }; 871 - fdl13 = spdx { 889 + fdl13 = { 872 890 spdxId = "GFDL-1.3"; 873 891 fullName = "GNU Free Documentation License v1.3"; 874 892 deprecated = true; 875 893 }; 876 - gpl1 = spdx { 894 + gpl1 = { 877 895 spdxId = "GPL-1.0"; 878 896 fullName = "GNU General Public License v1.0"; 879 897 deprecated = true; 880 898 }; 881 - gpl2 = spdx { 899 + gpl2 = { 882 900 spdxId = "GPL-2.0"; 883 901 fullName = "GNU General Public License v2.0"; 884 902 deprecated = true; 885 903 }; 886 - gpl3 = spdx { 904 + gpl3 = { 887 905 spdxId = "GPL-3.0"; 888 906 fullName = "GNU General Public License v3.0"; 889 907 deprecated = true; 890 908 }; 891 - lgpl2 = spdx { 909 + lgpl2 = { 892 910 spdxId = "LGPL-2.0"; 893 911 fullName = "GNU Library General Public License v2"; 894 912 deprecated = true; 895 913 }; 896 - lgpl21 = spdx { 914 + lgpl21 = { 897 915 spdxId = "LGPL-2.1"; 898 916 fullName = "GNU Lesser General Public License v2.1"; 899 917 deprecated = true; 900 918 }; 901 - lgpl3 = spdx { 919 + lgpl3 = { 902 920 spdxId = "LGPL-3.0"; 903 921 fullName = "GNU Lesser General Public License v3.0"; 904 922 deprecated = true;
+2 -1
lib/options.nix
··· 11 11 filter 12 12 foldl' 13 13 head 14 + tail 14 15 isAttrs 15 16 isBool 16 17 isDerivation ··· 144 145 if def.value != first.value then 145 146 throw "The option `${showOption loc}' has conflicting definition values:${showDefs [ first def ]}" 146 147 else 147 - first) (head defs) defs).value; 148 + first) (head defs) (tail defs)).value; 148 149 149 150 /* Extracts values of all "value" keys of the given list. 150 151
+12
maintainers/maintainer-list.nix
··· 6722 6722 githubId = 35892750; 6723 6723 name = "Maxine Aubrey"; 6724 6724 }; 6725 + maxhille = { 6726 + email = "mh@lambdasoup.com"; 6727 + github = "maxhille"; 6728 + githubId = 693447; 6729 + name = "Max Hille"; 6730 + }; 6725 6731 maxhbr = { 6726 6732 email = "nixos@maxhbr.dev"; 6727 6733 github = "maxhbr"; ··· 6976 6982 longkeyid = "rsa4096/0x003F2096411B5F92"; 6977 6983 fingerprint = "3DEE 1C55 6E1C 3DC5 54F5 875A 003F 2096 411B 5F92"; 6978 6984 }]; 6985 + }; 6986 + michaeladler = { 6987 + email = "therisen06@gmail.com"; 6988 + github = "michaeladler"; 6989 + githubId = 1575834; 6990 + name = "Michael Adler"; 6979 6991 }; 6980 6992 michaelpj = { 6981 6993 email = "michaelpj@gmail.com";
+7
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
··· 184 184 </listitem> 185 185 <listitem> 186 186 <para> 187 + The <literal>erigon</literal> ethereum node has moved to a new 188 + database format in <literal>2021-05-04</literal>, and requires 189 + a full resync 190 + </para> 191 + </listitem> 192 + <listitem> 193 + <para> 187 194 <literal>services.geoip-updater</literal> was broken and has 188 195 been replaced by 189 196 <link xlink:href="options.html#opt-services.geoipupdate.enable">services.geoipupdate</link>.
+2
nixos/doc/manual/release-notes/rl-2111.section.md
··· 57 57 58 58 - The `staticjinja` package has been upgraded from 1.0.4 to 3.0.1 59 59 60 + - The `erigon` ethereum node has moved to a new database format in `2021-05-04`, and requires a full resync 61 + 60 62 - `services.geoip-updater` was broken and has been replaced by [services.geoipupdate](options.html#opt-services.geoipupdate.enable). 61 63 62 64 - PHP 7.3 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 21.11 release.
+1 -1
nixos/modules/misc/ids.nix
··· 178 178 radvd = 139; 179 179 zookeeper = 140; 180 180 dnsmasq = 141; 181 - uhub = 142; 181 + #uhub = 142; # unused 182 182 yandexdisk = 143; 183 183 mxisd = 144; # was once collectd 184 184 consul = 145;
+1 -1
nixos/modules/services/continuous-integration/jenkins/default.nix
··· 61 61 62 62 port = mkOption { 63 63 default = 8080; 64 - type = types.int; 64 + type = types.port; 65 65 description = '' 66 66 Specifies port number on which the jenkins HTTP interface listens. 67 67 The default is 8080.
+1 -1
nixos/modules/services/development/hoogle.nix
··· 17 17 enable = mkEnableOption "Haskell documentation server"; 18 18 19 19 port = mkOption { 20 - type = types.int; 20 + type = types.port; 21 21 default = 8080; 22 22 description = '' 23 23 Port number Hoogle will be listening to.
+1 -1
nixos/modules/services/misc/home-assistant.nix
··· 78 78 79 79 port = mkOption { 80 80 default = 8123; 81 - type = types.int; 81 + type = types.port; 82 82 description = "The port on which to listen."; 83 83 }; 84 84
+83 -151
nixos/modules/services/misc/uhub.nix
··· 3 3 with lib; 4 4 5 5 let 6 - 7 - cfg = config.services.uhub; 8 - 9 - uhubPkg = pkgs.uhub.override { tlsSupport = cfg.enableTLS; }; 10 - 11 - pluginConfig = "" 12 - + optionalString cfg.plugins.authSqlite.enable '' 13 - plugin ${uhubPkg.mod_auth_sqlite}/mod_auth_sqlite.so "file=${cfg.plugins.authSqlite.file}" 14 - '' 15 - + optionalString cfg.plugins.logging.enable '' 16 - plugin ${uhubPkg.mod_logging}/mod_logging.so ${if cfg.plugins.logging.syslog then "syslog=true" else "file=${cfg.plugins.logging.file}"} 17 - '' 18 - + optionalString cfg.plugins.welcome.enable '' 19 - plugin ${uhubPkg.mod_welcome}/mod_welcome.so "motd=${pkgs.writeText "motd.txt" cfg.plugins.welcome.motd} rules=${pkgs.writeText "rules.txt" cfg.plugins.welcome.rules}" 20 - '' 21 - + optionalString cfg.plugins.history.enable '' 22 - plugin ${uhubPkg.mod_chat_history}/mod_chat_history.so "history_max=${toString cfg.plugins.history.max} history_default=${toString cfg.plugins.history.default} history_connect=${toString cfg.plugins.history.connect}" 23 - ''; 24 - 25 - uhubConfigFile = pkgs.writeText "uhub.conf" '' 26 - file_acl=${pkgs.writeText "users.conf" cfg.aclConfig} 27 - file_plugins=${pkgs.writeText "plugins.conf" pluginConfig} 28 - server_bind_addr=${cfg.address} 29 - server_port=${toString cfg.port} 30 - ${lib.optionalString cfg.enableTLS "tls_enable=yes"} 31 - ${cfg.hubConfig} 32 - ''; 33 - 34 - in 35 - 36 - { 6 + settingsFormat = { 7 + type = with lib.types; attrsOf (oneOf [ bool int str ]); 8 + generate = name: attrs: 9 + pkgs.writeText name (lib.strings.concatStringsSep "\n" 10 + (lib.attrsets.mapAttrsToList 11 + (key: value: "${key}=${builtins.toJSON value}") attrs)); 12 + }; 13 + in { 37 14 options = { 38 15 39 - services.uhub = { 16 + services.uhub = mkOption { 17 + default = { }; 18 + description = "Uhub ADC hub instances"; 19 + type = types.attrsOf (types.submodule { 20 + options = { 40 21 41 - enable = mkOption { 42 - type = types.bool; 43 - default = false; 44 - description = "Whether to enable the uhub ADC hub."; 45 - }; 46 - 47 - port = mkOption { 48 - type = types.int; 49 - default = 1511; 50 - description = "TCP port to bind the hub to."; 51 - }; 22 + enable = mkEnableOption "hub instance" // { default = true; }; 52 23 53 - address = mkOption { 54 - type = types.str; 55 - default = "any"; 56 - description = "Address to bind the hub to."; 57 - }; 58 - 59 - enableTLS = mkOption { 60 - type = types.bool; 61 - default = false; 62 - description = "Whether to enable TLS support."; 63 - }; 64 - 65 - hubConfig = mkOption { 66 - type = types.lines; 67 - default = ""; 68 - description = "Contents of uhub configuration file."; 69 - }; 70 - 71 - aclConfig = mkOption { 72 - type = types.lines; 73 - default = ""; 74 - description = "Contents of user ACL configuration file."; 75 - }; 76 - 77 - plugins = { 78 - 79 - authSqlite = { 80 - enable = mkOption { 24 + enableTLS = mkOption { 81 25 type = types.bool; 82 26 default = false; 83 - description = "Whether to enable the Sqlite authentication database plugin"; 84 - }; 85 - file = mkOption { 86 - type = types.path; 87 - example = "/var/db/uhub-users"; 88 - description = "Path to user database. Use the uhub-passwd utility to create the database and add/remove users."; 27 + description = "Whether to enable TLS support."; 89 28 }; 90 - }; 91 29 92 - logging = { 93 - enable = mkOption { 94 - type = types.bool; 95 - default = false; 96 - description = "Whether to enable the logging plugin."; 97 - }; 98 - file = mkOption { 99 - type = types.str; 100 - default = ""; 101 - description = "Path of log file."; 102 - }; 103 - syslog = mkOption { 104 - type = types.bool; 105 - default = false; 106 - description = "If true then the system log is used instead of writing to file."; 107 - }; 108 - }; 109 - 110 - welcome = { 111 - enable = mkOption { 112 - type = types.bool; 113 - default = false; 114 - description = "Whether to enable the welcome plugin."; 115 - }; 116 - motd = mkOption { 117 - default = ""; 118 - type = types.lines; 30 + settings = mkOption { 31 + inherit (settingsFormat) type; 119 32 description = '' 120 - Welcome message displayed to clients after connecting 121 - and with the <literal>!motd</literal> command. 33 + Configuration of uhub. 34 + See https://www.uhub.org/doc/config.php for a list of options. 122 35 ''; 36 + default = { }; 37 + example = { 38 + server_bind_addr = "any"; 39 + server_port = 1511; 40 + hub_name = "My Public Hub"; 41 + hub_description = "Yet another ADC hub"; 42 + max_users = 150; 43 + }; 123 44 }; 124 - rules = mkOption { 125 - default = ""; 126 - type = types.lines; 127 - description = '' 128 - Rules message, displayed to clients with the <literal>!rules</literal> command. 129 - ''; 45 + 46 + plugins = mkOption { 47 + description = "Uhub plugin configuration."; 48 + type = with types; 49 + listOf (submodule { 50 + options = { 51 + plugin = mkOption { 52 + type = path; 53 + example = literalExample 54 + "$${pkgs.uhub}/plugins/mod_auth_sqlite.so"; 55 + description = "Path to plugin file."; 56 + }; 57 + settings = mkOption { 58 + description = "Settings specific to this plugin."; 59 + type = with types; attrsOf str; 60 + example = { file = "/etc/uhub/users.db"; }; 61 + }; 62 + }; 63 + }); 64 + default = [ ]; 130 65 }; 131 - }; 132 66 133 - history = { 134 - enable = mkOption { 135 - type = types.bool; 136 - default = false; 137 - description = "Whether to enable the history plugin."; 138 - }; 139 - max = mkOption { 140 - type = types.int; 141 - default = 200; 142 - description = "The maximum number of messages to keep in history"; 143 - }; 144 - default = mkOption { 145 - type = types.int; 146 - default = 10; 147 - description = "When !history is provided without arguments, then this default number of messages are returned."; 148 - }; 149 - connect = mkOption { 150 - type = types.int; 151 - default = 5; 152 - description = "The number of chat history messages to send when users connect (0 = do not send any history)."; 153 - }; 154 67 }; 155 - 156 - }; 68 + }); 157 69 }; 158 70 159 71 }; 160 72 161 - config = mkIf cfg.enable { 73 + config = let 74 + hubs = lib.attrsets.filterAttrs (_: cfg: cfg.enable) config.services.uhub; 75 + in { 162 76 163 - users = { 164 - users.uhub.uid = config.ids.uids.uhub; 165 - groups.uhub.gid = config.ids.gids.uhub; 166 - }; 77 + environment.etc = lib.attrsets.mapAttrs' (name: cfg: 78 + let 79 + settings' = cfg.settings // { 80 + tls_enable = cfg.enableTLS; 81 + file_plugins = pkgs.writeText "uhub-plugins.conf" 82 + (lib.strings.concatStringsSep "\n" (map ({ plugin, settings }: 83 + "plugin ${plugin} ${ 84 + toString 85 + (lib.attrsets.mapAttrsToList (key: value: ''"${key}=${value}"'') 86 + settings) 87 + }") cfg.plugins)); 88 + }; 89 + in { 90 + name = "uhub/${name}.conf"; 91 + value.source = settingsFormat.generate "uhub-${name}.conf" settings'; 92 + }) hubs; 167 93 168 - systemd.services.uhub = { 169 - description = "high performance peer-to-peer hub for the ADC network"; 170 - after = [ "network.target" ]; 171 - wantedBy = [ "multi-user.target" ]; 172 - serviceConfig = { 173 - Type = "notify"; 174 - ExecStart = "${uhubPkg}/bin/uhub -c ${uhubConfigFile} -u uhub -g uhub -L"; 175 - ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; 94 + systemd.services = lib.attrsets.mapAttrs' (name: cfg: { 95 + name = "uhub-${name}"; 96 + value = let pkg = pkgs.uhub.override { tlsSupport = cfg.enableTLS; }; 97 + in { 98 + description = "high performance peer-to-peer hub for the ADC network"; 99 + after = [ "network.target" ]; 100 + wantedBy = [ "multi-user.target" ]; 101 + reloadIfChanged = true; 102 + serviceConfig = { 103 + Type = "notify"; 104 + ExecStart = "${pkg}/bin/uhub -c /etc/uhub/${name}.conf -L"; 105 + ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; 106 + DynamicUser = true; 107 + }; 176 108 }; 177 - }; 109 + }) hubs; 178 110 }; 179 111 180 112 }
+2 -2
nixos/modules/services/networking/i2pd.nix
··· 32 32 description = "Bind address for ${name} endpoint."; 33 33 }; 34 34 port = mkOption { 35 - type = types.int; 35 + type = types.port; 36 36 default = port; 37 - description = "Bind port for ${name} endoint."; 37 + description = "Bind port for ${name} endpoint."; 38 38 }; 39 39 }; 40 40
+1 -1
nixos/modules/services/networking/shout.nix
··· 41 41 }; 42 42 43 43 port = mkOption { 44 - type = types.int; 44 + type = types.port; 45 45 default = 9000; 46 46 description = "TCP port to listen on for http connections."; 47 47 };
+1 -5
nixos/modules/services/networking/ssh/sshd.nix
··· 520 520 XAuthLocation ${pkgs.xorg.xauth}/bin/xauth 521 521 ''} 522 522 523 - ${if cfg.forwardX11 then '' 524 - X11Forwarding yes 525 - '' else '' 526 - X11Forwarding no 527 - ''} 523 + X11Forwarding ${if cfg.forwardX11 then "yes" else "no"} 528 524 529 525 ${optionalString cfg.allowSFTP '' 530 526 Subsystem sftp ${cfg.sftpServerExecutable} ${concatStringsSep " " cfg.sftpFlags}
+1 -1
nixos/modules/services/networking/syncplay.nix
··· 21 21 }; 22 22 23 23 port = mkOption { 24 - type = types.int; 24 + type = types.port; 25 25 default = 8999; 26 26 description = '' 27 27 TCP port to bind to.
+26 -25
nixos/modules/services/networking/wpa_supplicant.nix
··· 42 42 description = '' 43 43 The interfaces <command>wpa_supplicant</command> will use. If empty, it will 44 44 automatically use all wireless interfaces. 45 - <warning><para> 46 - The automatic discovery of interfaces does not work reliably on boot: 47 - it may fail and leave the system without network. When possible, specify 48 - a known interface name. 49 - </para></warning> 50 45 ''; 51 46 }; 52 47 ··· 230 225 message = ''options networking.wireless."${name}".{psk,pskRaw,auth} are mutually exclusive''; 231 226 }); 232 227 233 - warnings = 234 - optional (cfg.interfaces == [] && config.systemd.services.wpa_supplicant.wantedBy != []) 235 - '' 236 - No network interfaces for wpa_supplicant have been configured: the service 237 - may randomly fail to start at boot. You should specify at least one using the option 238 - networking.wireless.interfaces. 239 - ''; 240 - 241 228 environment.systemPackages = [ package ]; 242 229 243 230 services.dbus.packages = [ package ]; ··· 258 245 wantedBy = [ "multi-user.target" ]; 259 246 stopIfChanged = false; 260 247 261 - path = [ package ]; 248 + path = [ package pkgs.udev ]; 262 249 263 250 script = let 264 251 configStr = if cfg.allowAuxiliaryImperativeNetworks 265 252 then "-c /etc/wpa_supplicant.conf -I ${configFile}" 266 253 else "-c ${configFile}"; 267 254 in '' 268 - if [ -f /etc/wpa_supplicant.conf -a "/etc/wpa_supplicant.conf" != "${configFile}" ] 269 - then echo >&2 "<3>/etc/wpa_supplicant.conf present but ignored. Generated ${configFile} is used instead." 255 + if [ -f /etc/wpa_supplicant.conf -a "/etc/wpa_supplicant.conf" != "${configFile}" ]; then 256 + echo >&2 "<3>/etc/wpa_supplicant.conf present but ignored. Generated ${configFile} is used instead." 270 257 fi 258 + 271 259 iface_args="-s -u -D${cfg.driver} ${configStr}" 260 + 272 261 ${if ifaces == [] then '' 273 - for i in $(cd /sys/class/net && echo *); do 274 - DEVTYPE= 275 - UEVENT_PATH=/sys/class/net/$i/uevent 276 - if [ -e "$UEVENT_PATH" ]; then 277 - source "$UEVENT_PATH" 278 - if [ "$DEVTYPE" = "wlan" -o -e /sys/class/net/$i/wireless ]; then 279 - args+="''${args:+ -N} -i$i $iface_args" 280 - fi 281 - fi 262 + # detect interfaces automatically 263 + 264 + # check if there are no wireless interface 265 + if ! find -H /sys/class/net/* -name wireless | grep -q .; then 266 + # if so, wait until one appears 267 + echo "Waiting for wireless interfaces" 268 + grep -q '^ACTION=add' < <(stdbuf -oL -- udevadm monitor -s net/wlan -pu) 269 + # Note: the above line has been carefully written: 270 + # 1. The process substitution avoids udevadm hanging (after grep has quit) 271 + # until it tries to write to the pipe again. Not even pipefail works here. 272 + # 2. stdbuf is needed because udevadm output is buffered by default and grep 273 + # may hang until more udev events enter the pipe. 274 + fi 275 + 276 + # add any interface found to the daemon arguments 277 + for name in $(find -H /sys/class/net/* -name wireless | cut -d/ -f 5); do 278 + echo "Adding interface $name" 279 + args+="''${args:+ -N} -i$name $iface_args" 282 280 done 283 281 '' else '' 282 + # add known interfaces to the daemon arguments 284 283 args="${concatMapStringsSep " -N " (i: "-i${i} $iface_args") ifaces}" 285 284 ''} 285 + 286 + # finally start daemon 286 287 exec wpa_supplicant $args 287 288 ''; 288 289 };
+2 -2
nixos/modules/services/networking/zeronet.nix
··· 32 32 }; 33 33 34 34 port = mkOption { 35 - type = types.int; 35 + type = types.port; 36 36 default = 43110; 37 37 example = 43110; 38 38 description = "Optional zeronet web UI port."; ··· 41 41 fileserverPort = mkOption { 42 42 # Not optional: when absent zeronet tries to write one to the 43 43 # read-only config file and crashes 44 - type = types.int; 44 + type = types.port; 45 45 default = 12261; 46 46 example = 12261; 47 47 description = "Zeronet fileserver port.";
+1
nixos/tests/all-tests.nix
··· 94 94 cri-o = handleTestOn ["x86_64-linux"] ./cri-o.nix {}; 95 95 custom-ca = handleTest ./custom-ca.nix {}; 96 96 croc = handleTest ./croc.nix {}; 97 + cryptpad = handleTest ./cryptpad.nix {}; 97 98 deluge = handleTest ./deluge.nix {}; 98 99 dendrite = handleTest ./dendrite.nix {}; 99 100 dhparams = handleTest ./dhparams.nix {};
+18
nixos/tests/cryptpad.nix
··· 1 + import ./make-test-python.nix ({ lib, ... }: 2 + 3 + with lib; 4 + 5 + { 6 + name = "cryptpad"; 7 + meta.maintainers = with maintainers; [ davhau ]; 8 + 9 + nodes.machine = 10 + { pkgs, ... }: 11 + { services.cryptpad.enable = true; }; 12 + 13 + testScript = '' 14 + machine.wait_for_unit("cryptpad.service") 15 + machine.wait_for_open_port("3000") 16 + machine.succeed("curl -L --fail http://localhost:3000/sheet") 17 + ''; 18 + })
+2 -2
pkgs/applications/accessibility/svkbd/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "svkbd"; 18 - version = "0.3"; 18 + version = "0.4"; 19 19 20 20 src = fetchurl { 21 21 url = "https://dl.suckless.org/tools/svkbd-${version}.tar.gz"; 22 - sha256 = "108khx665d7dlzs04iy4g1nw3fyqpy6kd0afrwiapaibgv4xhfsk"; 22 + sha256 = "sha256-j9RW5/4cb8l3FK9jpFf206l1rQhCR5H/WMiu7I6rzV8="; 23 23 }; 24 24 25 25 inherit patches;
+34
pkgs/applications/audio/cyanrip/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , ffmpeg 8 + , libcdio 9 + , libcdio-paranoia 10 + , libmusicbrainz5 11 + , curl 12 + }: 13 + stdenv.mkDerivation rec { 14 + pname = "cyanrip"; 15 + version = "0.7.0"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "cyanreg"; 19 + repo = pname; 20 + rev = "v${version}"; 21 + sha256 = "0lgb92sfpf4w3nj5vlj6j7931mj2q3cmcx1app9snf853jk9ahmw"; 22 + }; 23 + 24 + nativeBuildInputs = [ meson ninja pkg-config ]; 25 + buildInputs = [ ffmpeg libcdio libcdio-paranoia libmusicbrainz5 curl ]; 26 + 27 + meta = with lib; { 28 + homepage = "https://github.com/cyanreg/cyanrip"; 29 + description = "Bule-ish CD ripper"; 30 + license = licenses.lgpl3Plus; 31 + platforms = platforms.all; 32 + maintainers = [ maintainers.zane ]; 33 + }; 34 + }
+34
pkgs/applications/blockchains/erigon.nix
··· 1 + { stdenv, lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "erigon"; 5 + version = "2021.08.01"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "ledgerwatch"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-fjMkCCeQa/IHB4yXlL7Qi8J9wtZm90l3xIA72LeoW8M="; 12 + }; 13 + 14 + vendorSha256 = "1vsgd19an592dblm9afasmh8cd0x2frw5pvnxkxd2fikhy2mibbs"; 15 + runVend = true; 16 + 17 + # Build errors in mdbx when format hardening is enabled: 18 + # cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security] 19 + hardeningDisable = [ "format" ]; 20 + 21 + subPackages = [ 22 + "cmd/erigon" 23 + "cmd/evm" 24 + "cmd/rpcdaemon" 25 + "cmd/rlpdump" 26 + ]; 27 + 28 + meta = with lib; { 29 + homepage = "https://github.com/ledgerwatch/erigon/"; 30 + description = "Ethereum node implementation focused on scalability and modularity"; 31 + license = with licenses; [ lgpl3Plus gpl3Plus ]; 32 + maintainers = with maintainers; [ d-xo ]; 33 + }; 34 + }
-30
pkgs/applications/blockchains/turbo-geth/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 2 - 3 - buildGoModule rec { 4 - pname = "turbo-geth"; 5 - version = "2021.05.02"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "ledgerwatch"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "sha256-7sTRAAlKZOdwi/LRbIEDKWpBe1ol8pZfEf2KIC4s0xk="; 12 - }; 13 - 14 - vendorSha256 = "1d0ahdb2b5v8nxq3kdxw151phnyv6habb8kr8qjaq3kyhcnyk6ng"; 15 - runVend = true; 16 - 17 - subPackages = [ 18 - "cmd/tg" 19 - "cmd/evm" 20 - "cmd/rpcdaemon" 21 - "cmd/rlpdump" 22 - ]; 23 - 24 - meta = with lib; { 25 - homepage = "https://github.com/ledgerwatch/turbo-geth/"; 26 - description = "Ethereum node and geth fork focused on scalability and modularity"; 27 - license = with licenses; [ lgpl3Plus gpl3Plus ]; 28 - maintainers = with maintainers; [ d-xo ]; 29 - }; 30 - }
+1
pkgs/applications/editors/helix/default.nix
··· 20 20 description = "A post-modern modal text editor"; 21 21 homepage = "https://helix-editor.com"; 22 22 license = licenses.mpl20; 23 + mainProgram = "hx"; 23 24 maintainers = with maintainers; [ yusdacra ]; 24 25 }; 25 26 }
+20 -9
pkgs/applications/editors/neovim/neovide/default.nix
··· 3 3 , lib 4 4 , fetchFromGitHub 5 5 , fetchgit 6 + , fetchurl 6 7 , makeWrapper 7 8 , pkg-config 8 9 , python2 9 - , expat 10 10 , openssl 11 11 , SDL2 12 12 , fontconfig 13 + , freetype 13 14 , ninja 14 15 , gn 15 16 , llvmPackages ··· 21 22 }: 22 23 rustPlatform.buildRustPackage rec { 23 24 pname = "neovide"; 24 - version = "unstable-2021-06-21"; 25 + version = "unstable-2021-08-08"; 25 26 26 27 src = fetchFromGitHub { 27 28 owner = "Kethku"; 28 29 repo = "neovide"; 29 - rev = "4159c47ff4f30073b92b9d63fc6ab70e07b74b6d"; 30 - sha256 = "sha256-XwirJGXMGxc/NkpSeHBUc16ppvJ+H4ECnrOVu030Qfg="; 30 + rev = "725f12cafd4a26babd0d6bbcbca9a99c181991ac"; 31 + sha256 = "sha256-ThMobWKe3wHhR15TmmKrI6Gp1wvGVfJ52MzibK0ubkc="; 31 32 }; 32 33 33 - cargoSha256 = "sha256-WCk9kt81DtBwpEEdKH9gKQSVxAvH+vkyP2y24tU+vzY="; 34 + cargoSha256 = "sha256-5lOGncnyA8DwetY5bU6k2KXNClFgp+xIBEeA0/iwGF0="; 34 35 35 36 SKIA_SOURCE_DIR = 36 37 let ··· 38 39 owner = "rust-skia"; 39 40 repo = "skia"; 40 41 # see rust-skia:skia-bindings/Cargo.toml#package.metadata skia 41 - rev = "m90-0.38.3"; 42 - sha256 = "sha256-l8c4vfO1PELAT8bDyr/yQGZetZsaufAlJ6bBOXz7E1w="; 42 + rev = "m91-0.39.4"; 43 + sha256 = "sha256-ovlR1vEZaQqawwth/UYVUSjFu+kTsywRpRClBaE1CEA="; 43 44 }; 44 45 # The externals for skia are taken from skia/DEPS 45 46 externals = lib.mapAttrs (n: v: fetchgit v) (lib.importJSON ./skia-externals.json); ··· 79 80 doCheck = false; 80 81 81 82 buildInputs = [ 82 - expat 83 83 openssl 84 84 SDL2 85 - fontconfig 85 + (fontconfig.overrideAttrs (old: { 86 + propagatedBuildInputs = [ 87 + # skia is not compatible with freetype 2.11.0 88 + (freetype.overrideAttrs (old: rec { 89 + version = "2.10.4"; 90 + src = fetchurl { 91 + url = "mirror://savannah/${old.pname}/${old.pname}-${version}.tar.xz"; 92 + sha256 = "112pyy215chg7f7fmp2l9374chhhpihbh8wgpj5nj6avj3c59a46"; 93 + }; 94 + })) 95 + ]; 96 + })) 86 97 ]; 87 98 88 99 postFixup = ''
+1 -1
pkgs/applications/editors/vim/vimacs.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "vimacs"; 7 - version = vimPackage.version; 7 + version = lib.getVersion vimPackage; 8 8 vimPackage = if useMacvim then macvim else vim_configurable; 9 9 10 10 buildInputs = [ vimPackage vimPlugins.vimacs ];
+1 -1
pkgs/applications/editors/vscode/generic.nix
··· 22 22 inherit pname version src sourceRoot; 23 23 24 24 passthru = { 25 - inherit executableName tests updateScript; 25 + inherit executableName longName tests updateScript; 26 26 fhs = fhs {}; 27 27 fhsWithPackages = f: fhs { additionalPkgs = f; }; 28 28 };
+18 -8
pkgs/applications/editors/vscode/with-extensions.nix
··· 1 - { lib, runCommand, buildEnv, vscode, makeWrapper 1 + { lib, stdenv, runCommand, buildEnv, vscode, makeWrapper 2 2 , vscodeExtensions ? [] }: 3 3 4 4 /* ··· 42 42 */ 43 43 44 44 let 45 - 46 - inherit (vscode) executableName; 45 + inherit (vscode) executableName longName; 47 46 wrappedPkgVersion = lib.getVersion vscode; 48 47 wrappedPkgName = lib.removeSuffix "-${wrappedPkgVersion}" vscode.name; 49 48 ··· 52 51 paths = vscodeExtensions; 53 52 }; 54 53 54 + extensionsFlag = lib.optionalString (vscodeExtensions != []) '' 55 + --add-flags "--extensions-dir ${combinedExtensionsDrv}/share/vscode/extensions" 56 + ''; 55 57 in 56 58 57 59 # When no extensions are requested, we simply redirect to the original ··· 62 64 dontPatchELF = true; 63 65 dontStrip = true; 64 66 meta = vscode.meta; 65 - } '' 67 + } (if stdenv.isDarwin then '' 68 + mkdir -p $out/bin/ 69 + mkdir -p "$out/Applications/${longName}.app/Contents/MacOS" 70 + 71 + for path in PkgInfo Frameworks Resources _CodeSignature Info.plist; do 72 + ln -s "${vscode}/Applications/${longName}.app/Contents/$path" "$out/Applications/${longName}.app/Contents/" 73 + done 74 + 75 + makeWrapper "${vscode}/bin/${executableName}" "$out/bin/${executableName}" ${extensionsFlag} 76 + makeWrapper "${vscode}/Applications/${longName}.app/Contents/MacOS/Electron" "$out/Applications/${longName}.app/Contents/MacOS/Electron" ${extensionsFlag} 77 + '' else '' 66 78 mkdir -p "$out/bin" 67 79 mkdir -p "$out/share/applications" 68 80 mkdir -p "$out/share/pixmaps" ··· 70 82 ln -sT "${vscode}/share/pixmaps/code.png" "$out/share/pixmaps/code.png" 71 83 ln -sT "${vscode}/share/applications/${executableName}.desktop" "$out/share/applications/${executableName}.desktop" 72 84 ln -sT "${vscode}/share/applications/${executableName}-url-handler.desktop" "$out/share/applications/${executableName}-url-handler.desktop" 73 - makeWrapper "${vscode}/bin/${executableName}" "$out/bin/${executableName}" ${lib.optionalString (vscodeExtensions != []) '' 74 - --add-flags "--extensions-dir ${combinedExtensionsDrv}/share/vscode/extensions" 75 - ''} 76 - '' 85 + makeWrapper "${vscode}/bin/${executableName}" "$out/bin/${executableName}" ${extensionsFlag} 86 + '')
+2 -2
pkgs/applications/graphics/openimageio/2.x.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "openimageio"; 19 - version = "2.2.12.0"; 19 + version = "2.2.17.0"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "OpenImageIO"; 23 23 repo = "oiio"; 24 24 rev = "Release-${version}"; 25 - sha256 = "16z8lnsqhljbfaarfwx9rc95p0a9wxf4p271j6kxdfknjb88p56i"; 25 + sha256 = "0jqpb1zci911wdm928addsljxx8zsh0gzbhv9vbw6man4wi93h6h"; 26 26 }; 27 27 28 28 outputs = [ "bin" "out" "dev" "doc" ];
+56
pkgs/applications/misc/archivebox/default.nix
··· 1 + { lib 2 + , buildPythonApplication 3 + , fetchPypi 4 + , requests 5 + , mypy-extensions 6 + , django_3 7 + , django_extensions 8 + , dateparser 9 + , youtube-dl 10 + , python-crontab 11 + , croniter 12 + , w3lib 13 + , ipython 14 + }: 15 + 16 + let 17 + django_3' = django_3.overridePythonAttrs (old: rec { 18 + pname = "Django"; 19 + version = "3.1.7"; 20 + src = fetchPypi { 21 + inherit pname version; 22 + sha256 = "sha256-Ms55Lum2oMu+w0ASPiKayfdl3/jCpK6SR6FLK6OjZac="; 23 + }; 24 + }); 25 + in 26 + 27 + buildPythonApplication rec { 28 + pname = "archivebox"; 29 + version = "0.6.2"; 30 + 31 + src = fetchPypi { 32 + inherit pname version; 33 + sha256 = "sha256-zHty7lTra6yab9d0q3EqsPG3F+lrnZL6PjQAbL1A2NY="; 34 + }; 35 + 36 + propagatedBuildInputs = [ 37 + requests 38 + mypy-extensions 39 + django_3' 40 + django_extensions 41 + dateparser 42 + youtube-dl 43 + python-crontab 44 + croniter 45 + w3lib 46 + ipython 47 + ]; 48 + 49 + meta = with lib; { 50 + description = "Open source self-hosted web archiving"; 51 + homepage = "https://archivebox.io"; 52 + license = licenses.mit; 53 + maintainers = with maintainers; [ siraben ]; 54 + platforms = platforms.unix; 55 + }; 56 + }
+2 -2
pkgs/applications/misc/sweethome3d/default.nix
··· 100 100 101 101 application = mkSweetHome3D rec { 102 102 pname = lib.toLower module + "-application"; 103 - version = "6.5.2"; 103 + version = "6.6"; 104 104 module = "SweetHome3D"; 105 105 description = "Design and visualize your future home"; 106 106 license = lib.licenses.gpl2Plus; 107 107 src = fetchurl { 108 108 url = "mirror://sourceforge/sweethome3d/${module}-${version}-src.zip"; 109 - sha256 = "1j0xm2vmcxxjmf12k8rfnisq9hd7hqaiyxrfbrbjxis9iq3kycp3"; 109 + sha256 = "sha256-CnVXpmodmyoZdqmt7OgRyzuLeDhkPhrAS/CldFM8SQs="; 110 110 }; 111 111 desktopName = "Sweet Home 3D"; 112 112 icons = {
+2 -2
pkgs/applications/misc/sweethome3d/editors.nix
··· 99 99 }; 100 100 101 101 furniture-editor = mkEditorProject rec { 102 - version = "1.27"; 102 + version = "1.28"; 103 103 module = "FurnitureLibraryEditor"; 104 104 pname = module; 105 105 description = "Quickly create SH3F files and edit the properties of the 3D models it contain"; 106 106 license = lib.licenses.gpl2; 107 107 src = fetchurl { 108 108 url = "mirror://sourceforge/sweethome3d/${module}-${version}-src.zip"; 109 - sha256 = "1zxbcn9awgax8lalzkc05f5yfwbgnrayc17fkyv5i19j4qb3r2a0"; 109 + sha256 = "sha256-r5xJlUctUdcknJfm8rbz+bdzFhqgHsHpHwxEC4mItws="; 110 110 }; 111 111 desktopName = "Sweet Home 3D - Furniture Library Editor"; 112 112 };
+2 -2
pkgs/applications/misc/zathura/core/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "zathura"; 13 - version = "0.4.7"; 13 + version = "0.4.8"; 14 14 15 15 src = fetchurl { 16 16 url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz"; 17 - sha256 = "1rx1fk9s556fk59lmqgvhwrmv71ashh89bx9adjq46wq5gzdn4p0"; 17 + sha256 = "1nr0ym1mi2afk4ycdf1ppmkcv7i7hyzwn4p3r4m0j2qm3nvaiami"; 18 18 }; 19 19 20 20 outputs = [ "bin" "man" "dev" "out" ];
+115
pkgs/applications/networking/aether/default.nix
··· 1 + { autoPatchelfHook, makeDesktopItem, lib, stdenv, wrapGAppsHook 2 + , alsa-lib, at-spi2-atk, at-spi2-core, atk, cairo, cups, dbus, expat, fontconfig 3 + , freetype, gdk-pixbuf, glib, gtk3, libcxx, libdrm, libnotify, libpulseaudio, libuuid 4 + , libX11, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext 5 + , libXfixes, libXi, libXrandr, libXrender, libXtst, libxcb, libxshmfence 6 + , mesa, nspr, nss, pango, systemd, libappindicator-gtk3, libdbusmenu 7 + , fetchurl, fetchFromGitHub, imagemagick, copyDesktopItems 8 + }: 9 + 10 + let 11 + binaryName = "AetherP2P"; 12 + in 13 + stdenv.mkDerivation rec { 14 + pname = "aether"; 15 + version = "2.0.0-dev.15"; 16 + 17 + srcs = [ 18 + (fetchurl { 19 + url = "https://static.getaether.net/Releases/Aether-${version}/2011262249.19338c93/linux/Aether-${version}%2B2011262249.19338c93.tar.gz"; 20 + sha256 = "1hi8w83zal3ciyzg2m62shkbyh6hj7gwsidg3dn88mhfy68himf7"; 21 + # % in the url / canonical filename causes an error 22 + name = "aether-tarball.tar.gz"; 23 + }) 24 + (fetchFromGitHub { 25 + owner = "aethereans"; 26 + repo = "aether-app"; 27 + rev = "53b6c8b2a9253cbf056ea3ebb077e0e08cbc5b1d"; 28 + sha256 = "1kgkzh7ih2q9dsckdkinh5dbzvr7gdykf8yz6h8pyhvzyjhk1v0r"; 29 + }) 30 + ]; 31 + 32 + sourceRoot = "Aether-${version}+2011262249.19338c93"; 33 + 34 + # there is no logo in the tarball so we grab it from github and convert it in the build phase 35 + buildPhase = '' 36 + convert ../source/aether-core/aether/client/src/app/ext_dep/images/Linux-Windows-App-Icon.png -resize 512x512 aether.png 37 + ''; 38 + 39 + dontWrapGApps = true; 40 + 41 + buildInputs = [ 42 + alsa-lib 43 + cups 44 + libdrm 45 + libuuid 46 + libXdamage 47 + libX11 48 + libXScrnSaver 49 + libXtst 50 + libxcb 51 + libxshmfence 52 + mesa 53 + nss 54 + ]; 55 + 56 + nativeBuildInputs = [ 57 + imagemagick 58 + autoPatchelfHook 59 + wrapGAppsHook 60 + copyDesktopItems 61 + ]; 62 + 63 + desktopItems = [ 64 + (makeDesktopItem { 65 + name = pname; 66 + exec = binaryName; 67 + icon = pname; 68 + desktopName = "Aether"; 69 + genericName = meta.description; 70 + categories = "Network;"; 71 + mimeType = "x-scheme-handler/aether"; 72 + }) 73 + ]; 74 + 75 + installPhase = 76 + let 77 + libPath = lib.makeLibraryPath [ 78 + libcxx systemd libpulseaudio libdrm mesa 79 + stdenv.cc.cc alsa-lib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig freetype 80 + gdk-pixbuf glib gtk3 libnotify libX11 libXcomposite libuuid 81 + libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender 82 + libXtst nspr nss libxcb pango systemd libXScrnSaver 83 + libappindicator-gtk3 libdbusmenu 84 + ]; 85 + in 86 + '' 87 + mkdir -p $out/{bin,opt/${binaryName},share/icons/hicolor/512x512/apps} 88 + mv * $out/opt/${binaryName} 89 + 90 + chmod +x $out/opt/${binaryName}/${binaryName} 91 + patchelf --set-interpreter ${stdenv.cc.bintools.dynamicLinker} \ 92 + $out/opt/${binaryName}/${binaryName} 93 + 94 + wrapProgram $out/opt/${binaryName}/${binaryName} \ 95 + "''${gappsWrapperArgs[@]}" \ 96 + --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}" \ 97 + --prefix LD_LIBRARY_PATH : ${libPath} 98 + 99 + ln -s $out/opt/${binaryName}/${binaryName} $out/bin/ 100 + 101 + ln -s $out/opt/${binaryName}/aether.png $out/share/icons/hicolor/512x512/apps/ 102 + 103 + runHook postInstall 104 + ''; 105 + 106 + meta = with lib; { 107 + description = "Peer-to-peer ephemeral public communities"; 108 + homepage = "https://getaether.net/"; 109 + downloadPage = "https://getaether.net/download/"; 110 + license = licenses.agpl3Only; 111 + maintainers = with maintainers; [ maxhille ]; 112 + # other platforms could be supported by building from source 113 + platforms = [ "x86_64-linux" ]; 114 + }; 115 + }
+3 -3
pkgs/applications/networking/cluster/terraform-docs/default.nix
··· 1 1 { lib, buildGoModule, fetchFromGitHub }: 2 2 buildGoModule rec { 3 3 pname = "terraform-docs"; 4 - version = "0.14.1"; 4 + version = "0.15.0"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "terraform-docs"; 8 8 repo = pname; 9 9 rev = "v${version}"; 10 - sha256 = "sha256-Jm0ySxn4GFW4iAH3tOIvclcDGJMKzH7m7fhWnAf4+gs="; 10 + sha256 = "sha256-PzGlEEhootf2SCOy7+11aST7NMTNhNMQWeZO40mrMYQ="; 11 11 }; 12 12 13 - vendorSha256 = "sha256-IzmAlthE6SVvGHj72wrY1/KLehOv8Ck9VaTv5jMpt48="; 13 + vendorSha256 = "sha256-T/jgFPBUQMATX7DoWsDR/VFjka7Vxk7F4taE25cdnTk="; 14 14 15 15 subPackages = [ "." ]; 16 16
+2 -1
pkgs/applications/office/foliate/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, meson, gettext, glib, gjs, ninja, python3, gtk3 2 2 , webkitgtk, gsettings-desktop-schemas, wrapGAppsHook, desktop-file-utils 3 - , gobject-introspection }: 3 + , gobject-introspection, glib-networking }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "foliate"; ··· 28 28 buildInputs = [ 29 29 gettext 30 30 glib 31 + glib-networking 31 32 gjs 32 33 gtk3 33 34 webkitgtk
+2 -2
pkgs/applications/science/math/ginac/default.nix
··· 1 1 { lib, stdenv, fetchurl, cln, pkg-config, readline, gmp, python3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "ginac-1.8.0"; 4 + name = "ginac-1.8.1"; 5 5 6 6 src = fetchurl { 7 7 url = "${meta.homepage}/${name}.tar.bz2"; 8 - sha256 = "0l9byzfxq3f9az5pcdldnl95ws8mpirkqky46f973mvxi5541d24"; 8 + sha256 = "sha256-8WldvWsYcGHvP7pQdkjJ1tukOPczsFjBb5J4y9z14as="; 9 9 }; 10 10 11 11 propagatedBuildInputs = [ cln ];
+11 -5
pkgs/applications/version-management/git-and-tools/glab/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "glab"; 5 - version = "1.18.1"; 5 + version = "1.20.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "profclems"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-ahP5y5i0SMj2+mP4RYc7MLZGElX5eLgKwiVhBYGOX2g="; 11 + sha256 = "sha256-MHNhl6lrBqHZ6M4fVOnSDxEcF6RqfWHWx5cvUhRXJKw="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ssVmqcJ/DxUqAkHm9tn4RwWuKzTHvxoqJquXPIRy4b8="; 14 + vendorSha256 = "sha256-9+WBKc8PI0v6bnkC+78Ygv/eocQ3D7+xBb8lcv16QTE="; 15 15 runVend = true; 16 16 17 - # Tests are trying to access /homeless-shelter 18 - doCheck = false; 17 + ldflags = [ 18 + "-X main.version=${version}" 19 + ]; 20 + 21 + preCheck = '' 22 + # failed to read configuration: mkdir /homeless-shelter: permission denied 23 + export HOME=$TMPDIR 24 + ''; 19 25 20 26 subPackages = [ "cmd/glab" ]; 21 27
+53 -30
pkgs/applications/version-management/git-and-tools/radicle-upstream/default.nix
··· 1 - { lib, stdenv, appimageTools, gsettings-desktop-schemas, gtk3, autoPatchelfHook, zlib, fetchurl }: 1 + { lib, stdenv, appimageTools, gsettings-desktop-schemas, gtk3, autoPatchelfHook, zlib, fetchurl, undmg }: 2 2 3 3 let 4 4 pname = "radicle-upstream"; 5 - version = "0.2.3"; 5 + version = "0.2.9"; 6 6 name = "${pname}-${version}"; 7 7 8 - src = fetchurl { 9 - url = "https://releases.radicle.xyz/radicle-upstream-${version}.AppImage"; 10 - sha256 = "sha256-SL6plXZ+o7JchY/t/1702FK57fVjxllHqB8ZOma/43c="; 8 + srcs = { 9 + x86_64-linux = fetchurl { 10 + url = "https://releases.radicle.xyz/radicle-upstream-${version}.AppImage"; 11 + sha256 = "sha256-chju3ZEFFLOzE9FakUK2izm/5ejELdL/iWMtM3bRpWY="; 12 + }; 13 + x86_64-darwin = fetchurl { 14 + url = "https://releases.radicle.xyz/radicle-upstream-${version}.dmg"; 15 + sha256 = "sha256-OOqe4diRcJWHHOa6jBpljPoA3FQOKlghMhKGQ242GnM="; 16 + }; 11 17 }; 18 + src = srcs.${stdenv.hostPlatform.system}; 12 19 13 - contents = appimageTools.extractType2 { inherit name src; }; 20 + contents = appimageTools.extract { inherit name src; }; 14 21 15 22 git-remote-rad = stdenv.mkDerivation rec { 16 23 pname = "git-remote-rad"; ··· 25 32 cp ${contents}/resources/git-remote-rad $out/bin/git-remote-rad 26 33 ''; 27 34 }; 28 - in 29 35 30 - # FIXME: a dependency of the `proxy` component of radicle-upstream (radicle-macros 31 - # v0.1.0) uses unstable rust features, making a from source build impossible at 32 - # this time. See this PR for discussion: https://github.com/NixOS/nixpkgs/pull/105674 33 - appimageTools.wrapType2 { 34 - inherit name src; 36 + # FIXME: a dependency of the `proxy` component of radicle-upstream (radicle-macros 37 + # v0.1.0) uses unstable rust features, making a from source build impossible at 38 + # this time. See this PR for discussion: https://github.com/NixOS/nixpkgs/pull/105674 39 + linux = appimageTools.wrapType2 { 40 + inherit name src meta; 41 + 42 + profile = '' 43 + export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS 44 + ''; 45 + 46 + extraInstallCommands = '' 47 + mv $out/bin/${name} $out/bin/${pname} 48 + 49 + # this automatically adds the git-remote-rad binary to the users `PATH` so 50 + # they don't need to mess around with shell profiles... 51 + ln -s ${git-remote-rad}/bin/git-remote-rad $out/bin/git-remote-rad 52 + 53 + # desktop item 54 + install -m 444 -D ${contents}/${pname}.desktop $out/share/applications/${pname}.desktop 55 + substituteInPlace $out/share/applications/${pname}.desktop \ 56 + --replace 'Exec=AppRun' 'Exec=${pname}' 35 57 36 - profile = '' 37 - export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS 38 - ''; 58 + # icon 59 + install -m 444 -D ${contents}/${pname}.png \ 60 + $out/share/icons/hicolor/512x512/apps/${pname}.png 61 + ''; 62 + }; 39 63 40 - extraInstallCommands = '' 41 - mv $out/bin/${name} $out/bin/${pname} 64 + darwin = stdenv.mkDerivation { 65 + inherit pname version src meta; 42 66 43 - # this automatically adds the git-remote-rad binary to the users `PATH` so 44 - # they don't need to mess around with shell profiles... 45 - ln -s ${git-remote-rad}/bin/git-remote-rad $out/bin/git-remote-rad 67 + nativeBuildInputs = [ undmg ]; 46 68 47 - # desktop item 48 - install -m 444 -D ${contents}/${pname}.desktop $out/share/applications/${pname}.desktop 49 - substituteInPlace $out/share/applications/${pname}.desktop \ 50 - --replace 'Exec=AppRun' 'Exec=${pname}' 69 + sourceRoot = "."; 51 70 52 - # icon 53 - install -m 444 -D ${contents}/${pname}.png \ 54 - $out/share/icons/hicolor/512x512/apps/${pname}.png 55 - ''; 71 + installPhase = '' 72 + mkdir -p $out/Applications 73 + cp -r *.app $out/Applications 74 + ''; 75 + }; 56 76 57 77 meta = with lib; { 58 78 description = "A decentralized app for code collaboration"; 59 79 homepage = "https://radicle.xyz/"; 60 80 license = licenses.gpl3Plus; 61 81 maintainers = with maintainers; [ d-xo ]; 62 - platforms = [ "x86_64-linux" ]; 82 + platforms = [ "x86_64-linux" "x86_64-darwin" ]; 63 83 }; 64 - } 84 + in 85 + if stdenv.isDarwin 86 + then darwin 87 + else linux
+2 -2
pkgs/applications/version-management/gitkraken/default.nix
··· 13 13 in 14 14 stdenv.mkDerivation rec { 15 15 pname = "gitkraken"; 16 - version = "7.7.1"; 16 + version = "7.7.2"; 17 17 18 18 src = fetchzip { 19 19 url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz"; 20 - sha256 = "sha256-nFXj40PfHctymBcZoiJNzkvAsFnABD300/aUqNpUn2c="; 20 + sha256 = "sha256-jL0XLw0V0ED+lDBn3sGaJmm96zQwXue333UuYGHjB64="; 21 21 }; 22 22 23 23 dontBuild = true;
+2 -2
pkgs/applications/video/ccextractor/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "ccextractor"; 17 - version = "0.91"; 17 + version = "0.92"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "CCExtractor"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-VqJQaYzH8psQJfnDariV4q7SkDiXRz9byR51C8DzVEs="; 23 + sha256 = "sha256-cEC0SF69CDLKQyTPIOZYPgxNR29mJVnzOZraGvPQjdg="; 24 24 }; 25 25 26 26 sourceRoot = "source/src";
+15 -7
pkgs/applications/video/obs-studio/default.nix
··· 1 - { config, lib, stdenv 1 + { config 2 + , lib 3 + , stdenv 2 4 , mkDerivation 3 5 , fetchFromGitHub 4 6 , addOpenGLRunpath ··· 41 43 let 42 44 inherit (lib) optional optionals; 43 45 44 - in mkDerivation rec { 46 + in 47 + mkDerivation rec { 45 48 pname = "obs-studio"; 46 49 version = "27.0.0"; 47 50 ··· 61 64 ./Change-product_version-to-user_agent_product.patch 62 65 ]; 63 66 64 - nativeBuildInputs = [ addOpenGLRunpath cmake pkg-config ]; 67 + nativeBuildInputs = [ 68 + addOpenGLRunpath 69 + cmake 70 + pkg-config 71 + makeWrapper 72 + ] 73 + ++ optional scriptingSupport swig; 65 74 66 75 buildInputs = [ 67 76 curl ··· 81 90 wayland 82 91 x264 83 92 libvlc 84 - makeWrapper 85 93 mbedtls 86 94 ] 87 - ++ optionals scriptingSupport [ luajit swig python3 ] 95 + ++ optionals scriptingSupport [ luajit python3 ] 88 96 ++ optional alsaSupport alsa-lib 89 97 ++ optional pulseaudioSupport libpulseaudio 90 98 ++ optional pipewireSupport pipewire; ··· 132 140 ''; 133 141 homepage = "https://obsproject.com"; 134 142 maintainers = with maintainers; [ jb55 MP2E V ]; 135 - license = licenses.gpl2; 136 - platforms = [ "x86_64-linux" "i686-linux" ]; 143 + license = licenses.gpl2Plus; 144 + platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; 137 145 }; 138 146 }
+1 -1
pkgs/desktops/gnome/core/mutter/default.nix
··· 134 134 PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev"; 135 135 136 136 passthru = { 137 - libdir = "${self}/lib/mutter-7"; 137 + libdir = "${self}/lib/mutter-8"; 138 138 139 139 tests = { 140 140 libdirExists = runCommand "mutter-libdir-exists" {} ''
+2
pkgs/desktops/gnome/extensions/extensionRenames.nix
··· 13 13 "lockkeys@vaina.lt" = "lock-keys"; 14 14 "lockkeys@fawtytoo" = "lock-keys-2"; 15 15 16 + "system-monitor@paradoxxx.zero.gmail.com" = "system-monitor"; # manually packaged 17 + "System_Monitor@bghome.gmail.com" = "system-monitor-2"; 16 18 17 19 18 20 # ############################################################################
+2 -2
pkgs/development/compilers/llvm/10/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 14 14 inherit version; 15 15 src = fetch "compiler-rt" "1yjqjri753w0fzmxcyz687nvd97sbc9rsqrxzpq720na47hwh3fr"; 16 16 17 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 17 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 18 18 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 19 19 20 20 NIX_CFLAGS_COMPILE = [
+2 -2
pkgs/development/compilers/llvm/11/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 15 15 inherit version; 16 16 src = fetch "compiler-rt" "0x1j8ngf1zj63wlnns9vlibafq48qcm72p4jpaxkmkb4qw0grwfy"; 17 17 18 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 18 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 19 19 20 20 NIX_CFLAGS_COMPILE = [ 21 21 "-DSCUDO_DEFAULT_OPTIONS=DeleteSizeMismatch=0:DeallocationTypeMismatch=0"
+2 -2
pkgs/development/compilers/llvm/12/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 14 14 inherit version; 15 15 src = fetch "compiler-rt" "1950rg294izdwkaasi7yjrmadc9mzdd5paf0q63jjcq2m3rdbj5l"; 16 16 17 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 17 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 18 18 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 19 19 20 20 NIX_CFLAGS_COMPILE = [
+2 -2
pkgs/development/compilers/llvm/13/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, src, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, src, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 16 16 inherit src; 17 17 sourceRoot = "source/compiler-rt"; 18 18 19 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 19 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 20 20 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 21 21 22 22 NIX_CFLAGS_COMPILE = [
+2 -2
pkgs/development/compilers/llvm/5/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 13 13 inherit version; 14 14 src = fetch "compiler-rt" "0ipd4jdxpczgr2w6lzrabymz6dhzj69ywmyybjjc1q397zgrvziy"; 15 15 16 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 16 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 17 17 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 18 18 19 19 NIX_CFLAGS_COMPILE = [
+2 -2
pkgs/development/compilers/llvm/6/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 13 13 inherit version; 14 14 src = fetch "compiler-rt" "1fcr3jn24yr8lh36nc0c4ikli4744i2q9m1ik67p1jymwwaixkgl"; 15 15 16 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 16 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 17 17 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 18 18 19 19 NIX_CFLAGS_COMPILE = [
+2 -2
pkgs/development/compilers/llvm/7/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 14 14 inherit version; 15 15 src = fetch "compiler-rt" "1n48p8gjarihkws0i2bay5w9bdwyxyxxbpwyng7ba58jb30dlyq5"; 16 16 17 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 17 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 18 18 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 19 19 20 20 NIX_CFLAGS_COMPILE = [
+2 -2
pkgs/development/compilers/llvm/8/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 14 14 inherit version; 15 15 src = fetch "compiler-rt" "0dqqf8f930l8gag4d9qjgn1n0pj0nbv2anviqqhdi1rkhas8z0hi"; 16 16 17 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 17 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 18 18 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 19 19 20 20 NIX_CFLAGS_COMPILE = [
+2 -2
pkgs/development/compilers/llvm/9/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 14 14 inherit version; 15 15 src = fetch "compiler-rt" "0xwh79g3zggdabxgnd0bphry75asm1qz7mv3hcqihqwqr6aspgy2"; 16 16 17 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 17 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 18 18 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 19 19 20 20 NIX_CFLAGS_COMPILE = [
+2 -2
pkgs/development/compilers/llvm/git/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, src, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, src, cmake, python3, libllvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 16 16 inherit src; 17 17 sourceRoot = "source/compiler-rt"; 18 18 19 - nativeBuildInputs = [ cmake python3 llvm.dev ]; 19 + nativeBuildInputs = [ cmake python3 libllvm.dev ]; 20 20 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; 21 21 22 22 NIX_CFLAGS_COMPILE = [
+3 -3
pkgs/development/libraries/aqbanking/sources.nix
··· 5 5 libchipcard.version = "5.0.4"; 6 6 libchipcard.sha256 = "0fj2h39ll4kiv28ch8qgzdbdbnzs8gl812qnm660bw89rynpjnnj"; 7 7 libchipcard.releaseId = "158"; 8 - aqbanking.version = "6.2.10"; 9 - aqbanking.sha256 = "13dbpi58mw09gnsza11pxy5c8j99r11nkyg2j53y4lqk47rmyhvq"; 10 - aqbanking.releaseId = "368"; 8 + aqbanking.version = "6.3.0"; 9 + aqbanking.sha256 = "1k2mhdnk0jc0inq1hmp74m3y7azxrjm8r07x5k1pp4ic0yi5vs50"; 10 + aqbanking.releaseId = "372"; 11 11 }
+2 -2
pkgs/development/libraries/dyncall/default.nix
··· 1 1 { lib, stdenv, fetchurl }: 2 2 3 - stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 4 4 pname = "dyncall"; 5 5 version = "1.2"; 6 6 7 7 src = fetchurl { 8 - url = "https://www.dyncall.org/r1.2/dyncall-1.2.tar.gz"; 8 + url = "https://www.dyncall.org/r${version}/dyncall-${version}.tar.gz"; 9 9 # https://www.dyncall.org/r1.2/SHA256 10 10 sha256 = "sha256-6IFUwCQ0IVYHBPXHKUr73snpka+gYB1a3/UELqgYCNc="; 11 11 };
+29 -5
pkgs/development/libraries/libcef/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , cmake 2 5 , glib 3 6 , nss 4 7 , nspr ··· 52 55 cups 53 56 libxshmfence 54 57 ]; 55 - in stdenv.mkDerivation rec { 58 + platforms = { 59 + "aarch64-linux" = { 60 + platformStr = "linuxarm64"; 61 + projectArch = "arm64"; 62 + sha256 = "1j93qawh9h6k2ic70i10npppv5f9dch961lc1wxwsi68daq8r081"; 63 + }; 64 + "i686-linux" = { 65 + platformStr = "linux32"; 66 + projectArch = "x86"; 67 + sha256 = "0ki4zr8ih06kirgbpxbinv4baw3qvacx208q6qy1cvpfh6ll4fwb"; 68 + }; 69 + "x86_64-linux" = { 70 + platformStr = "linux64"; 71 + projectArch = "x86_64"; 72 + sha256 = "1ja711x9fdlf21qw1k9xn3lvjc5zsfgnjga1w1r8sysam73jk7xj"; 73 + }; 74 + }; 75 + 76 + platformInfo = builtins.getAttr stdenv.targetPlatform.system platforms; 77 + in 78 + stdenv.mkDerivation rec { 56 79 pname = "cef-binary"; 57 80 version = "90.6.7"; 58 81 gitRevision = "19ba721"; 59 82 chromiumVersion = "90.0.4430.212"; 60 83 61 84 src = fetchurl { 62 - url = "https://cef-builds.spotifycdn.com/cef_binary_${version}+g${gitRevision}+chromium-${chromiumVersion}_linux64_minimal.tar.bz2"; 63 - sha256 = "1ja711x9fdlf21qw1k9xn3lvjc5zsfgnjga1w1r8sysam73jk7xj"; 85 + url = "https://cef-builds.spotifycdn.com/cef_binary_${version}+g${gitRevision}+chromium-${chromiumVersion}_${platformInfo.platformStr}_minimal.tar.bz2"; 86 + inherit (platformInfo) sha256; 64 87 }; 65 88 66 89 nativeBuildInputs = [ cmake ]; 90 + cmakeFlags = "-DPROJECT_ARCH=${platformInfo.projectArch}"; 67 91 makeFlags = [ "libcef_dll_wrapper" ]; 68 92 dontStrip = true; 69 93 dontPatchELF = true; ··· 83 107 homepage = "https://cef-builds.spotifycdn.com/index.html"; 84 108 maintainers = with maintainers; [ puffnfresh ]; 85 109 license = licenses.bsd3; 86 - platforms = with platforms; linux; 110 + platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ]; 87 111 }; 88 112 }
+2 -2
pkgs/development/libraries/libnbd/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "libnbd"; 14 - version = "1.9.2"; 14 + version = "1.9.3"; 15 15 16 16 src = fetchurl { 17 17 url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-development/${pname}-${version}.tar.gz"; 18 - hash = "sha256-UDLH5IMuKI6mAO/9VNmI8pCbxv94tCCQYRKZn2DBclg="; 18 + hash = "sha256-qF9IFZGj+9Zuw00+9pbgAhBUk+eUIAxhYNJAMWxmWo0="; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+63
pkgs/development/libraries/optparse-bash/default.nix
··· 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitHub 4 + , bash 5 + , gnused 6 + , gawk 7 + , coreutils 8 + }: 9 + 10 + stdenvNoCC.mkDerivation { 11 + pname = "optparse-bash-unstable"; 12 + version = "2021-06-13"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "nk412"; 16 + repo = "optparse"; 17 + rev = "d86ec17d15368e5b54eb2d47b001b0b61d68bbd0"; 18 + sha256 = "sha256-vs7Jo1+sV0tPse4Wu2xtzSX1IkahwLgO3e4Riz3uMmI="; 19 + }; 20 + 21 + postPatch = '' 22 + substituteInPlace optparse.bash \ 23 + --replace sed "${gnused}/bin/sed" \ 24 + --replace awk "${gawk}/bin/awk" \ 25 + --replace printf "${coreutils}/bin/printf" 26 + ''; 27 + 28 + dontBuild = true; 29 + 30 + doCheck = true; 31 + 32 + checkInputs = [ bash ]; 33 + 34 + # `#!/usr/bin/env` isn't okay for OfBorg 35 + # Need external bash to run 36 + checkPhase = '' 37 + runHook preCheck 38 + bash ./sample_head.sh -v --file README.md 39 + runHook postCheck 40 + ''; 41 + 42 + installPhase = '' 43 + runHook preInstall 44 + mkdir -p $out/bin 45 + mv optparse.bash $out/bin/ 46 + mkdir -p $out/share/doc/optparse-bash 47 + mv README.md sample_head.sh $out/share/doc/optparse-bash/ 48 + runHook postInstall 49 + ''; 50 + 51 + # As example code, 52 + # sample_head.sh shows how users can use opt-parse in their script, 53 + # and its shebang (`/usr/bin/env bash`) should not be patched. 54 + dontPatchShebangs = true; 55 + 56 + meta = with lib; { 57 + description = "A BASH wrapper for getopts, for simple command-line argument parsing"; 58 + homepage = "https://github.com/nk412/optparse"; 59 + license = licenses.mit; 60 + platforms = platforms.all; 61 + maintainers = with maintainers; [ ShamrockLee ]; 62 + }; 63 + }
+8 -4
pkgs/development/libraries/portmidi/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "portmidi"; 5 - version = "217"; 5 + version = "234"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://sourceforge/portmedia/portmidi-src-${version}.zip"; 9 - sha256 = "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"; 8 + url = "mirror://sourceforge/portmedia/portmedia-code-r${version}.zip"; 9 + sha256 = "1g7i8hgarihycadbgy2f7lifiy5cbc0mcrcazmwnmbbh1bqx6dyp"; 10 10 }; 11 + 12 + prePatch = '' 13 + cd portmidi/trunk 14 + ''; 11 15 12 16 cmakeFlags = let 13 17 #base = "${jdk}/jre/lib/${jdk.architecture}"; ··· 58 62 ''; 59 63 60 64 postInstall = let ext = stdenv.hostPlatform.extensions.sharedLibrary; in '' 61 - ln -s libportmidi.${ext} "$out/lib/libporttime.${ext}" 65 + ln -s libportmidi${ext} "$out/lib/libporttime${ext}" 62 66 ''; 63 67 64 68 nativeBuildInputs = [ unzip cmake ];
+4 -4
pkgs/development/libraries/portmidi/remove-darwin-variables.diff
··· 12 12 13 13 if(UNIX) 14 14 diff --git a/pm_common/CMakeLists.txt b/pm_common/CMakeLists.txt 15 - index e171047..aafa09c 100644 15 + index cbeeade..f765430 100644 16 16 --- a/pm_common/CMakeLists.txt 17 17 +++ b/pm_common/CMakeLists.txt 18 18 @@ -22,7 +22,7 @@ else(APPLE OR WIN32) 19 19 endif(APPLE OR WIN32) 20 20 21 21 if(APPLE) 22 - - set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.5.sdk CACHE 22 + - set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.6.sdk CACHE 23 23 + set(CMAKE_OSX_SYSROOT / CACHE 24 - PATH "-isysroot parameter for compiler" FORCE) 25 - set(CMAKE_C_FLAGS "-mmacosx-version-min=10.5" CACHE 24 + PATH "-isysroot parameter for compiler") 25 + set(CMAKE_C_FLAGS "-mmacosx-version-min=10.6" CACHE 26 26 STRING "needed in conjunction with CMAKE_OSX_SYSROOT" FORCE) 27 27 @@ -54,10 +54,6 @@ if(UNIX) 28 28
+2 -2
pkgs/development/libraries/spglib/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "spglib"; 5 - version = "1.16.1"; 5 + version = "1.16.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "atztogo"; 9 9 repo = "spglib"; 10 10 rev = "v${version}"; 11 - sha256 = "1sk59nnar9npka4mdcfh4154ja46i35y4gbq892kwqidzyfs80in"; 11 + sha256 = "1sbrk26xyvlhqxxv9cq2ycxwbiafgmh7lf221377zpqq8q3iavd7"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/python-modules/aioambient/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "aioambient"; 19 - version = "1.2.5"; 19 + version = "1.2.6"; 20 20 format = "pyproject"; 21 21 disabled = pythonOlder "3.6"; 22 22 ··· 24 24 owner = "bachya"; 25 25 repo = pname; 26 26 rev = version; 27 - sha256 = "1v8xr69y9cajyrdfz8wdksz1hclh5cvgxppf9lpygwfj4q70wh88"; 27 + sha256 = "sha256-EppnuZP62YTFI3UJUzBUj2m5TvFh1WiDz9smHY7We60="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/bleach/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "bleach"; 14 - version = "3.3.0"; 14 + version = "3.3.1"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "sha256-mLMXBznl6D3Z3BljPwdHJ62EjL7bYCZwjIrC07aXpDM="; 18 + sha256 = "1yma53plrlw2llaqxv8yk0g5al0vvlywwzym18b78m3rm6jq6r1h"; 19 19 }; 20 20 21 21 checkInputs = [ pytest pytest-runner ];
+2 -2
pkgs/development/python-modules/eventlet/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "eventlet"; 15 - version = "0.31.0"; 15 + version = "0.31.1"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "b36ec2ecc003de87fc87b93197d77fea528aa0f9204a34fdf3b2f8d0f01e017b"; 19 + sha256 = "0xldgwjf9jkp28rn0pg0i32bg6m7pdh7dwgi0grcvqzs0iii5sdr"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ dnspython greenlet monotonic six ]
+2 -2
pkgs/development/python-modules/fastapi/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "fastapi"; 20 - version = "0.67.0"; 20 + version = "0.68.0"; 21 21 format = "flit"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "tiangolo"; 25 25 repo = "fastapi"; 26 26 rev = version; 27 - sha256 = "15zbalyib7ndcbxvf9prj0n9n6qb4bfzhmaacsjrvdmjzmqdjgw0"; 27 + sha256 = "00cjkc90h0qlca30g981zvwlxh2wc3rfipw25v667jdl9x5gxv9p"; 28 28 }; 29 29 30 30 postPatch = ''
+2 -2
pkgs/development/python-modules/hass-nabucasa/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "hass-nabucasa"; 18 - version = "0.45.1"; 18 + version = "0.46.0"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "nabucasa"; 22 22 repo = pname; 23 23 rev = version; 24 - sha256 = "sha256-ZDPlYoLAQLXiV+LUMdu/8v3TrG5/Zz4+r4PtThrLAas="; 24 + sha256 = "109ma1qlhifj5hs530zfnvc6mqv5grfmcq3s57wawq9nzq0gpfy8"; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -4
pkgs/development/python-modules/opensimplex/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , autopep8 5 4 , nose 6 - , pycodestyle 7 - , twine 8 5 }: 9 6 10 7 buildPythonPackage rec { ··· 18 15 sha256 = "idF5JQGnAye6z3c3YU9rsHaebB3rlHJfA8vSpjDnFeM="; 19 16 }; 20 17 21 - checkInputs = [ autopep8 nose pycodestyle twine ]; 18 + checkInputs = [ nose ]; 22 19 checkPhase = '' 23 20 nosetests tests/ 24 21 ''; 22 + pythonImportsCheck = [ "opensimplex" ]; 25 23 26 24 meta = with lib; { 27 25 description = "OpenSimplex Noise functions for 2D, 3D and 4D";
+2 -2
pkgs/development/python-modules/plugwise/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "plugwise"; 22 - version = "0.11.2"; 22 + version = "0.12.0"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = pname; 26 26 repo = "python-plugwise"; 27 27 rev = version; 28 - sha256 = "sha256-ywVCa6PfyQ1SiejE2IYkf/IpQM0iDXJPpCm0vDtlrw8="; 28 + sha256 = "sha256-fZ0mhsM7LroJgIyBO4eRzZaz2OQxa4Hhj1rNufHXvHI="; 29 29 }; 30 30 31 31 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pybotvac/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pybotvac"; 11 - version = "0.0.21"; 11 + version = "0.0.22"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "1hf692w44dmalv7hlcpwzbnr6xhvnmdv5nl1jcy2jhiwp89lkhzv"; 15 + sha256 = "sha256-hl8UmoVUbbHCSpCWdUTxoIlop5di+rUmGUQI9UWq3ik="; 16 16 }; 17 17 18 18 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pylutron/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "pylutron"; 8 - version = "0.2.8"; 8 + version = "0.2.9"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "sha256-Jg2waoIxvBvX+hoAgt/yoM87XdShCHQOZXbsHG3b4cw="; 12 + sha256 = "sha256-xy5XPNOrvdPZMCfa2MYA+xtUcFdGSurW5QYL6H7n2VI="; 13 13 }; 14 14 15 15 # Project has no tests
+8 -1
pkgs/development/python-modules/pymunk/default.nix
··· 1 - { lib 1 + { stdenv 2 + , lib 2 3 , buildPythonPackage 3 4 , fetchPypi 4 5 , python 5 6 , cffi 6 7 , pytestCheckHook 8 + , ApplicationServices 7 9 }: 8 10 9 11 buildPythonPackage rec { ··· 17 19 }; 18 20 19 21 propagatedBuildInputs = [ cffi ]; 22 + buildInputs = lib.optionals stdenv.isDarwin [ 23 + ApplicationServices 24 + ]; 20 25 21 26 preBuild = '' 22 27 ${python.interpreter} setup.py build_ext --inplace ··· 26 31 pytestFlagsArray = [ 27 32 "pymunk/tests" 28 33 ]; 34 + pythonImportsCheck = [ "pymunk" ]; 29 35 30 36 meta = with lib; { 31 37 description = "2d physics library"; 32 38 homepage = "https://www.pymunk.org"; 33 39 license = with licenses; [ mit ]; 34 40 maintainers = with maintainers; [ angustrau ]; 41 + platforms = platforms.linux ++ [ "x86_64-darwin" ]; 35 42 }; 36 43 }
+1 -5
pkgs/development/python-modules/pymupdf/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , fetchpatch 5 4 , mupdf 6 5 , swig 7 6 , freetype ··· 26 25 patches = [ 27 26 # Add NIX environment support. 28 27 # Should be removed next pyMuPDF release. 29 - (fetchpatch { 30 - url = "https://github.com/pymupdf/PyMuPDF/commit/d9b2d42019e5705a1c6621ea0cdfa26da1ce9ad5.patch"; 31 - sha256 = "fc3f6ad88c8f3933ed9ab9d4db9ebec8bc30ed5113f6ca9d72080b56dfa52ad6"; 32 - }) 28 + ./nix-support.patch 33 29 ]; 34 30 35 31 postPatch = ''
+17
pkgs/development/python-modules/pymupdf/nix-support.patch
··· 1 + --- a/setup.py 2 + +++ b/setup.py 3 + @@ -36,10 +36,14 @@ LIBRARIES = { 4 + "opensuse": OPENSUSE, 5 + "fedora": FEDORA, 6 + "alpine": ALPINE, 7 + + "nix": FEDORA, 8 + } 9 + 10 + 11 + def load_libraries(): 12 + + if os.getenv("NIX_STORE"): 13 + + return LIBRARIES["nix"] 14 + + 15 + try: 16 + import distro 17 +
+7 -3
pkgs/development/python-modules/pyopenuv/default.nix
··· 2 2 , aiohttp 3 3 , aresponses 4 4 , asynctest 5 + , backoff 5 6 , buildPythonPackage 6 7 , fetchFromGitHub 7 8 , poetry-core ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "pyopenuv"; 16 - version = "2.0.2"; 17 + version = "2.1.0"; 17 18 format = "pyproject"; 18 19 19 20 src = fetchFromGitHub { 20 21 owner = "bachya"; 21 22 repo = pname; 22 23 rev = version; 23 - sha256 = "sha256-QVgNwu/NXSV9nbRN0POBCdKCv6xdp4uSEzFAiHkhVaQ="; 24 + sha256 = "sha256-S2X7cTArjiWOFjQGnrZ4AuhgN8t18wf9d6i9X5thRZg="; 24 25 }; 25 26 26 27 nativeBuildInputs = [ poetry-core ]; 27 28 28 - propagatedBuildInputs = [ aiohttp ]; 29 + propagatedBuildInputs = [ 30 + aiohttp 31 + backoff 32 + ]; 29 33 30 34 checkInputs = [ 31 35 aresponses
+2 -2
pkgs/development/python-modules/python-gitlab/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "python-gitlab"; 13 - version = "2.9.0"; 13 + version = "2.10.0"; 14 14 disabled = pythonOlder "3.6"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "sha256-LFGxTN2aaAKDFaKw6IUl03YJZziPmfqlfeiQK0VGW+Y="; 18 + sha256 = "sha256-N2s+mCOBzsc0RxxQKz2ixueFio300DyZNJnmp1k5UOY="; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+28
pkgs/development/python-modules/pyuseragents/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "pyuseragents"; 9 + version = "1.0.5"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Animenosekai"; 13 + repo = "useragents"; 14 + rev = "v${version}"; 15 + sha256 = "D7Qs3vsfkRH2FDkbfakrR+FfWzQFiOCQM7q9AdJavyU="; 16 + }; 17 + 18 + checkInputs = [ pytestCheckHook ]; 19 + pytestFlagsArray = [ "test.py" ]; 20 + pythonImportsCheck = [ "pyuseragents" ]; 21 + 22 + meta = with lib; { 23 + description = "Giving you a random User-Agent Header"; 24 + homepage = "https://github.com/Animenosekai/useragents"; 25 + license = with licenses; [ mit ]; 26 + maintainers = with maintainers; [ angustrau ]; 27 + }; 28 + }
+4 -2
pkgs/development/python-modules/pywebpush/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "pywebpush"; 17 - version = "1.13.0"; 17 + version = "1.14.0"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "97ef000a685cd1f63d9d3553568508508904bfe419485df2b83b025d94e9ae54"; 21 + sha256 = "sha256-bDbhZ5JoIZ5pO6lA2yvyVMJAygJmTeECtyaa/DxUVzE="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ ··· 35 35 mock 36 36 pytestCheckHook 37 37 ]; 38 + 39 + pythonImportsCheck = [ "pywebpush" ]; 38 40 39 41 meta = with lib; { 40 42 description = "Webpush Data encryption library for Python";
+2 -2
pkgs/development/python-modules/requests-cache/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "requests-cache"; 21 - version = "0.7.2"; 21 + version = "0.7.3"; 22 22 disabled = pythonOlder "3.6"; 23 23 format = "pyproject"; 24 24 ··· 26 26 owner = "reclosedev"; 27 27 repo = "requests-cache"; 28 28 rev = "v${version}"; 29 - sha256 = "055dfyjm8dqwr62v86lyvq4r04692gmvlgp86218vwvzgm7p3p2c"; 29 + sha256 = "sha256-QGh/ThI5bKE65luVHDSsr6RQq5RReugdZrVvR1R0pUU="; 30 30 }; 31 31 32 32 nativeBuildInputs = [
+42
pkgs/development/python-modules/translatepy/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , requests 5 + , beautifulsoup4 6 + , pyuseragents 7 + , inquirer 8 + , pytestCheckHook 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "translatepy"; 13 + version = "2.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "Animenosekai"; 17 + repo = "translate"; 18 + rev = "v${version}"; 19 + sha256 = "Rt6FvB4kZVaB/jxxqOHsnkReTFCCyiEaZf240n0zVZs="; 20 + }; 21 + 22 + propagatedBuildInputs = [ 23 + requests 24 + beautifulsoup4 25 + pyuseragents 26 + inquirer 27 + ]; 28 + 29 + checkInputs = [ pytestCheckHook ]; 30 + disabledTestPaths = [ 31 + # Requires network connection 32 + "tests/test_translators.py" 33 + ]; 34 + pythonImportsCheck = [ "translatepy" ]; 35 + 36 + meta = with lib; { 37 + description = "A module grouping multiple translation APIs"; 38 + homepage = "https://github.com/Animenosekai/translate"; 39 + license = with licenses; [ agpl3Only ]; 40 + maintainers = with maintainers; [ angustrau ]; 41 + }; 42 + }
+2 -2
pkgs/development/python-modules/transmission-rpc/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "transmission-rpc"; 12 - version = "3.2.5"; 12 + version = "3.2.6"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "59598c9aa338703951686420fea292d9ba2d83d2a81361f16b64c2603c4ebb45"; 16 + sha256 = "1k4yyrbdqxp43zsmcg37a99x4s2kwsm7yyajf810y2wx61nq49d1"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+11 -5
pkgs/development/python-modules/websocket-client/default.nix
··· 3 3 , fetchPypi 4 4 , pythonOlder 5 5 , pytestCheckHook 6 - , pysocks 6 + , python-socks 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 10 pname = "websocket-client"; 11 - version = "1.1.0"; 11 + version = "1.2.0"; 12 12 disabled = pythonOlder "3.6"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-to5JWdcEdo+iDjXJ1QjI3Cu8BB/Y0mfA1zRc/+KCRWg="; 16 + sha256 = "sha256-dmW6bGRZibKLYWcIdKt1PmkpF56fyQVlrOasCQ9ZxVk="; 17 17 }; 18 18 19 - checkInputs = [ pytestCheckHook pysocks ]; 19 + propagatedBuildInputs = [ 20 + python-socks 21 + ]; 22 + 23 + checkInputs = [ 24 + pytestCheckHook 25 + ]; 20 26 21 27 pythonImportsCheck = [ "websocket" ]; 22 28 23 29 meta = with lib; { 24 30 description = "Websocket client for Python"; 25 31 homepage = "https://github.com/websocket-client/websocket-client"; 32 + changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog"; 26 33 license = licenses.lgpl21Plus; 27 34 maintainers = with maintainers; [ fab ]; 28 - changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog"; 29 35 }; 30 36 }
+2 -2
pkgs/development/python-modules/yeelight/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "yeelight"; 12 - version = "0.6.3"; 12 + version = "0.7.2"; 13 13 disabled = pythonOlder "3.4"; 14 14 15 15 src = fetchFromGitLab { 16 16 owner = "stavros"; 17 17 repo = "python-yeelight"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-71ncPGcqTRSldWVhJ2uZ2AEgkv1KO2i6UtAUTcJcru8="; 19 + sha256 = "06pg5q50dw5a0h6jnln8419asi8nahzvlk0s65ymykqq0jxac31y"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/yfinance/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "yfinance"; 12 - version = "0.1.61"; 12 + version = "0.1.63"; 13 13 14 14 # GitHub source releases aren't tagged 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-+tc0rwweGFaBkrl7LBHdsff98PuupqovKh4nRP3hRJ0="; 17 + sha256 = "0k1saz0wknxv31vpqcfyi35mzi68c75hlqpw8lf83xqw9zllydhi"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/analysis/codeql/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "codeql"; 15 - version = "2.5.8"; 15 + version = "2.5.9"; 16 16 17 17 dontConfigure = true; 18 18 dontBuild = true; ··· 20 20 21 21 src = fetchzip { 22 22 url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; 23 - sha256 = "sha256-XfxzvzGiSBhPVIvdtDifKjkcGK2afWXVWul3Pah3tKo="; 23 + sha256 = "sha256-r3Jm+VYjn0Dz4BCSbADbgTWL1owbyIXlkoj6mOmZcZk="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/tools/analysis/sparse/default.nix
··· 1 - { fetchurl, lib, stdenv, pkg-config, libxml2, llvm }: 1 + { fetchurl, lib, stdenv, pkg-config, libxml2, llvm, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "sparse"; ··· 14 14 ''; 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 - buildInputs = [ libxml2 llvm ]; 17 + buildInputs = [ libxml2 llvm perl ]; 18 18 doCheck = true; 19 19 20 20 meta = {
+21 -10
pkgs/development/tools/buf/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "buf"; 10 - version = "0.46.0"; 10 + version = "0.49.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "bufbuild"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-5mjk31HuPNO/RhmMhIm3dAZAED/Kk33ObjC8KbPKRxk="; 17 - leaveDotGit = true; # Required by TestWorkspaceGit 16 + sha256 = "sha256-xP2UbcHwimN09IXrGp3zhBLL74l/8YKotqBNRTITF18="; 18 17 }; 19 - vendorSha256 = "sha256-K8UZDEhAvD292RCEDKfY9PdZGS389vLF3oukcBndUF4="; 18 + vendorSha256 = "sha256-WgQSLe99CbOwJC8ewDcSq6PcBJdmiPRmvAonq8drQ1w="; 20 19 21 20 patches = [ 22 21 # Skip a test that requires networking to be available to work. 23 22 ./skip_test_requiring_network.patch 23 + # Skip TestWorkspaceGit which requires .git and commits. 24 + ./skip_test_requiring_dotgit.patch 24 25 ]; 25 26 26 27 nativeBuildInputs = [ protobuf ]; 28 + # Required for TestGitCloner 27 29 checkInputs = [ git ]; 28 30 29 31 ldflags = [ "-s" "-w" ]; 30 32 31 33 preCheck = '' 32 - export PATH=$PATH:$GOPATH/bin 34 + # The tests need access to some of the built utilities 35 + export PATH="$PATH:$GOPATH/bin" 33 36 # To skip TestCloneBranchAndRefToBucket 34 37 export CI=true 35 38 ''; ··· 38 41 runHook preInstall 39 42 40 43 mkdir -p "$out/bin" 41 - dir="$GOPATH/bin" 42 44 # Only install required binaries, don't install testing binaries 43 - for file in \ 45 + for FILE in \ 44 46 "buf" \ 45 47 "protoc-gen-buf-breaking" \ 46 48 "protoc-gen-buf-lint" \ 47 49 "protoc-gen-buf-check-breaking" \ 48 50 "protoc-gen-buf-check-lint"; do 49 - cp "$dir/$file" "$out/bin/" 51 + cp "$GOPATH/bin/$FILE" "$out/bin/" 50 52 done 51 53 52 54 runHook postInstall 53 55 ''; 54 56 57 + doInstallCheck = true; 58 + installCheckPhase = '' 59 + runHook preInstallCheck 60 + $out/bin/buf --help 61 + $out/bin/buf --version 2>&1 | grep "${version}" 62 + runHook postInstallCheck 63 + ''; 64 + 55 65 meta = with lib; { 66 + homepage = "https://buf.build"; 67 + changelog = "https://github.com/bufbuild/buf/releases/tag/v${version}"; 56 68 description = "Create consistent Protobuf APIs that preserve compatibility and comply with design best-practices"; 57 - homepage = "https://buf.build"; 58 69 license = licenses.asl20; 59 - maintainers = with maintainers; [ raboof ]; 70 + maintainers = with maintainers; [ raboof jk ]; 60 71 }; 61 72 }
+14
pkgs/development/tools/buf/skip_test_requiring_dotgit.patch
··· 1 + diff --git a/internal/buf/cmd/buf/workspace_test.go b/internal/buf/cmd/buf/workspace_test.go 2 + index e051690..8887837 100644 3 + --- a/internal/buf/cmd/buf/workspace_test.go 4 + +++ b/internal/buf/cmd/buf/workspace_test.go 5 + @@ -335,6 +335,9 @@ func TestWorkspaceNestedArchive(t *testing.T) { 6 + } 7 + 8 + func TestWorkspaceGit(t *testing.T) { 9 + + // Requires .git directory which we do not retain due to 10 + + // `leaveDotGit` non-determinism 11 + + t.Skip() 12 + // Directory paths specified as a git reference within a workspace. 13 + t.Parallel() 14 + testRunStdout(
+3 -3
pkgs/development/tools/conftest/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "conftest"; 5 - version = "0.26.0"; 5 + version = "0.27.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "open-policy-agent"; 9 9 repo = "conftest"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-AIFZhe0N6FT06IrDVF2OVfSwmQVg62ZglOcnnDL9TK8="; 11 + sha256 = "sha256-Yc/aejGLMbAqpIRTVQQ3lv7/oyr7tVAy41Gx6198Eos="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-7wj1n5ggYYrmMrDuQkbbJ2C1S1LHawkkj91owHDIwr0="; 14 + vendorSha256 = "sha256-jI5bX6S2C0ckiiieVlaRNEsLS/5gGkC3o/xauDtCOjA="; 15 15 16 16 doCheck = false; 17 17
+2 -2
pkgs/development/tools/doctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "doctl"; 5 - version = "1.62.0"; 5 + version = "1.63.1"; 6 6 7 7 vendorSha256 = null; 8 8 ··· 31 31 owner = "digitalocean"; 32 32 repo = "doctl"; 33 33 rev = "v${version}"; 34 - sha256 = "sha256-5YqGNuC1mmsIsEtnbgumaLuZGy3k6L9jZNbVwZln8WY="; 34 + sha256 = "sha256-SSjTrCR5H+3nIKHKEfrQX917HjgpViS6H1RwmRe4coI="; 35 35 }; 36 36 37 37 meta = with lib; {
+49
pkgs/development/tools/mars-mips/default.nix
··· 1 + { lib, stdenvNoCC, fetchurl, makeWrapper, copyDesktopItems, makeDesktopItem, unzip, imagemagick, jre }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "mars-mips"; 5 + version = "4.5"; 6 + 7 + src = fetchurl { 8 + url = "https://courses.missouristate.edu/KenVollmar/MARS/MARS_${lib.replaceStrings ["."] ["_"] version}_Aug2014/Mars${lib.replaceStrings ["."] ["_"] version}.jar"; 9 + sha256 = "15kh1fahkkbbf4wvb6ijzny4fi5dh4pycxyzp5325dm2ddkhnd5c"; 10 + }; 11 + 12 + dontUnpack = true; 13 + 14 + nativeBuildInputs = [ makeWrapper copyDesktopItems unzip imagemagick ]; 15 + 16 + desktopItems = [ 17 + (makeDesktopItem { 18 + name = pname; 19 + desktopName = "MARS"; 20 + exec = "mars-mips"; 21 + icon = "mars-mips"; 22 + comment = "An IDE for programming in MIPS assembly language"; 23 + categories = "Development;IDE;"; 24 + }) 25 + ]; 26 + 27 + installPhase = '' 28 + runHook preInstall 29 + 30 + export JAR=$out/share/java/${pname}/${pname}.jar 31 + install -D $src $JAR 32 + makeWrapper ${jre}/bin/java $out/bin/${pname} \ 33 + --add-flags "-jar $JAR" 34 + 35 + unzip ${src} images/MarsThumbnail.gif 36 + mkdir -p $out/share/pixmaps 37 + convert images/MarsThumbnail.gif $out/share/pixmaps/mars-mips.png 38 + 39 + runHook postInstall 40 + ''; 41 + 42 + meta = with lib; { 43 + description = "An IDE for programming in MIPS assembly language intended for educational-level use"; 44 + homepage = "https://courses.missouristate.edu/KenVollmar/MARS/"; 45 + license = licenses.mit; 46 + maintainers = with maintainers; [ angustrau ]; 47 + platforms = platforms.all; 48 + }; 49 + }
+2
pkgs/development/tools/misc/hydra/common.nix
··· 26 26 CatalystPluginAccessLog 27 27 CatalystPluginAuthorizationRoles 28 28 CatalystPluginCaptcha 29 + CatalystPluginPrometheusTiny 29 30 CatalystPluginSessionStateCookie 30 31 CatalystPluginSessionStoreFastMmap 31 32 CatalystPluginSmartURI ··· 59 60 NetPrometheus 60 61 NetStatsd 61 62 PadWalker 63 + PrometheusTinyShared 62 64 Readonly 63 65 SQLSplitStatement 64 66 SetScalar
+3 -3
pkgs/development/tools/misc/hydra/default.nix
··· 2 2 3 3 { 4 4 hydra-unstable = callPackage ./common.nix { 5 - version = "2021-05-03"; 5 + version = "2021-08-11"; 6 6 src = fetchFromGitHub { 7 7 owner = "NixOS"; 8 8 repo = "hydra"; 9 - rev = "886e6f85e45a1f757e9b77d2a9e4539fbde29468"; 10 - sha256 = "t7Qb57Xjc0Ou+VDGC1N5u9AmeODW6MVOwKSrYRJq5f0="; 9 + rev = "9bce425c3304173548d8e822029644bb51d35263"; 10 + sha256 = "sha256-tGzwKNW/odtAYcazWA9bPVSmVXMGKfXsqCA1UYaaxmU="; 11 11 }; 12 12 nix = nixUnstable; 13 13
+3 -3
pkgs/development/tools/pscale/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "pscale"; 5 - version = "0.60.0"; 5 + version = "0.63.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "planetscale"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-hrWSieWeVAg28f3Fh9mElr+mDh4v4T5JI1c3+Hrm7c0="; 11 + sha256 = "sha256-LYVR8vcMS6ErYH4sGRi1JT9E4ElYe5mloc3C1TudzSE="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-h4YUQWmFYouEvHup8Pu6OqfHf1EoPszVFzklU9SbJZQ="; 14 + vendorSha256 = "sha256-3LuzdvwLYSL7HaGbKDfrqBz2FV2yr6YUdI5kXXiIvbU="; 15 15 16 16 meta = with lib; { 17 17 homepage = "https://www.planetscale.com/";
+3 -3
pkgs/development/web/deno/default.nix
··· 17 17 18 18 rustPlatform.buildRustPackage rec { 19 19 pname = "deno"; 20 - version = "1.12.2"; 20 + version = "1.13.0"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "denoland"; 24 24 repo = pname; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-xIFJv/roTD7sq7vCy4JDwe8gYDMuZd34vyjS08xeijI="; 26 + sha256 = "sha256-iSL9YAcYdeZ9E5diAJG1oHzujPmfblOvheewOu9QIu8="; 27 27 }; 28 - cargoSha256 = "sha256-aETAFh5yTE+ZonDC0ITdaZ2YN3/SpYROsXP47aNEICE="; 28 + cargoSha256 = "sha256-1aibJwZ3o3bU5PWPVPBsRpjGo4JgOsNAgnPVAk1ZQHE="; 29 29 30 30 # Install completions post-install 31 31 nativeBuildInputs = [ installShellFiles ];
+5 -5
pkgs/development/web/deno/librusty_v8.nix
··· 11 11 }; 12 12 in 13 13 fetch_librusty_v8 { 14 - version = "0.25.3"; 14 + version = "0.26.0"; 15 15 shas = { 16 - x86_64-linux = "sha256-Z3lEJT3QVhP8PoDiM6Fw0sm5rXWvasBqASBO5tZA5zM="; 17 - aarch64-linux = "sha256-pbcd1zV7IIEqCIp8vsRiO0KBGrOv52SvMZ4gthxuN/I="; 18 - x86_64-darwin = "sha256-BwYdgd1kK8EQFfDc9RgtNvwvx7agt9hYNVmBGwHoqz0="; 19 - aarch64-darwin = "sha256-/RHeNuR7VjhfwdjZXWMMX3UnweAjJblSCUq9eIwGvWc="; 16 + x86_64-linux = "sha256-eYvfsgkLuV//4NmnxTNgB5vGoQ2JdSpXwF34d1kNxBw="; 17 + aarch64-linux = "sha256-t+0/bJI4q2XElYz398aig/widJEOAascOmv4qnnKMQY="; 18 + x86_64-darwin = "sha256-lYJcx5Oe/nuF3l5coH4WIMbBbiFMwxNWlIYojrdiJfI="; 19 + aarch64-darwin = "sha256-5blisZ4Z/f68fZg7aDr5WK4MNvL5IRZZSJrvFb9N5oY="; 20 20 }; 21 21 }
+3 -3
pkgs/development/web/flyctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "flyctl"; 5 - version = "0.0.229"; 5 + version = "0.0.230"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "superfly"; 9 9 repo = "flyctl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-mw+rTMFj41+T6lDe/MOQpmRcjt/gJhOCfaHcBkpjcsg="; 11 + sha256 = "sha256-TI6pBtpUfI1vPsi+tq7FduFaZv9CvkAooqFmHCGslzI="; 12 12 }; 13 13 14 14 preBuild = '' ··· 17 17 18 18 subPackages = [ "." ]; 19 19 20 - vendorSha256 = "sha256-NnHnSfm3XYiwgGn56GsthFKiflJvhYhjoxmm8ogm+Uc="; 20 + vendorSha256 = "sha256-6t2aLSr78pEhrYI53OMQpfJqa65wQAxlz6+ksUtxzmI="; 21 21 22 22 doCheck = false; 23 23
-87
pkgs/development/web/now-cli/default.nix
··· 1 - { stdenv, lib, fetchurl }: 2 - stdenv.mkDerivation rec { 3 - pname = "now-cli"; 4 - version = "15.8.7"; 5 - 6 - # TODO: switch to building from source, if possible 7 - src = fetchurl { 8 - url = "https://github.com/zeit/now-cli/releases/download/${version}/now-linux.gz"; 9 - sha256 = "1x6nsn9qmsy4hk7l2dsyabc7fxkwwwl1y1852vs4dgxi8w1hax93"; 10 - }; 11 - 12 - sourceRoot = "."; 13 - unpackCmd = '' 14 - gunzip -c $curSrc > now-linux 15 - ''; 16 - 17 - dontBuild = true; 18 - 19 - installPhase = '' 20 - mkdir $out 21 - mkdir $out/bin 22 - cp now-linux $out/bin/now 23 - ''; 24 - 25 - # now is a node program packaged using zeit/pkg. 26 - # thus, it contains hardcoded offsets. 27 - # patchelf shifts these locations when it expands headers. 28 - 29 - # this could probably be generalised into allowing any program packaged 30 - # with zeit/pkg to be run on nixos. 31 - 32 - preFixup = let 33 - libPath = lib.makeLibraryPath [stdenv.cc.cc]; 34 - in '' 35 - 36 - orig_size=$(stat --printf=%s $out/bin/now) 37 - 38 - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/bin/now 39 - patchelf --set-rpath ${libPath} $out/bin/now 40 - chmod +x $out/bin/now 41 - 42 - new_size=$(stat --printf=%s $out/bin/now) 43 - 44 - ###### zeit-pkg fixing starts here. 45 - # we're replacing plaintext js code that looks like 46 - # PAYLOAD_POSITION = '1234 ' | 0 47 - # [...] 48 - # PRELUDE_POSITION = '1234 ' | 0 49 - # ^-----20-chars-----^^------22-chars------^ 50 - # ^-- grep points here 51 - # 52 - # var_* are as described above 53 - # shift_by seems to be safe so long as all patchelf adjustments occur 54 - # before any locations pointed to by hardcoded offsets 55 - 56 - var_skip=20 57 - var_select=22 58 - shift_by=$(expr $new_size - $orig_size) 59 - 60 - function fix_offset { 61 - # $1 = name of variable to adjust 62 - location=$(grep -obUam1 "$1" $out/bin/now | cut -d: -f1) 63 - location=$(expr $location + $var_skip) 64 - 65 - value=$(dd if=$out/bin/now iflag=count_bytes,skip_bytes skip=$location \ 66 - bs=1 count=$var_select status=none) 67 - value=$(expr $shift_by + $value) 68 - 69 - echo -n $value | dd of=$out/bin/now bs=1 seek=$location conv=notrunc 70 - } 71 - 72 - fix_offset PAYLOAD_POSITION 73 - fix_offset PRELUDE_POSITION 74 - 75 - ''; 76 - dontStrip = true; 77 - 78 - 79 - 80 - meta = with lib; { 81 - homepage = "https://zeit.co/now"; 82 - description = "The Command Line Interface for Now - Global Serverless Deployments"; 83 - license = licenses.asl20; 84 - platforms = platforms.linux; 85 - maintainers = [ maintainers.bhall ]; 86 - }; 87 - }
+14 -3
pkgs/games/antsimulator/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "antsimulator"; 5 - version = "1.2"; 5 + version = "3.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "johnBuffer"; 9 9 repo = "AntSimulator"; 10 10 rev = "v${version}"; 11 - sha256 = "0wz80971rf86kb7mcnxwrq75vriwhmyir5s5n3wzml12rzfnj5f1"; 11 + sha256 = "sha256-1KWoGbdjF8VI4th/ZjAzASgsLEuS3xiwObulzxQAppA="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ]; 15 15 buildInputs = [ sfml ]; 16 16 17 + postPatch = '' 18 + substituteInPlace src/main.cpp \ 19 + --replace "res/" "$out/opt/antsimulator/" 20 + 21 + substituteInPlace include/simulation/config.hpp \ 22 + --replace "res/" "$out/opt/antsimulator/" 23 + 24 + substituteInPlace include/render/colony_renderer.hpp \ 25 + --replace "res/" "$out/opt/antsimulator/" 26 + ''; 27 + 17 28 installPhase = '' 18 - mkdir -p $out/bin 29 + install -Dm644 -t $out/opt/antsimulator res/* 19 30 install -Dm755 ./AntSimulator $out/bin/antsimulator 20 31 ''; 21 32
+30
pkgs/games/brutalmaze/default.nix
··· 1 + { lib, fetchFromSourcehut, python3Packages }: 2 + 3 + python3Packages.buildPythonApplication rec { 4 + pname = "brutalmaze"; 5 + version = "1.1.1"; 6 + format = "flit"; 7 + disabled = python3Packages.pythonOlder "3.7"; 8 + 9 + src = fetchFromSourcehut { 10 + owner = "~cnx"; 11 + repo = pname; 12 + rev = version; 13 + sha256 = "1m105iq378mypj64syw59aldbm6bj4ma4ynhc50gafl656fabg4y"; 14 + }; 15 + 16 + propagatedBuildInputs = with python3Packages; [ 17 + loca 18 + palace 19 + pygame 20 + ]; 21 + 22 + doCheck = false; # there's no test 23 + 24 + meta = with lib; { 25 + description = "Minimalist thrilling shoot 'em up game"; 26 + homepage = "https://brutalmaze.rtfd.io"; 27 + license = licenses.agpl3Plus; 28 + maintainers = [ maintainers.McSinyx ]; 29 + }; 30 + }
+2 -2
pkgs/games/crispy-doom/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "crispy-doom"; 5 - version = "5.10.1"; 5 + version = "5.10.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "fabiangreffrath"; 9 9 repo = pname; 10 10 rev = "${pname}-${version}"; 11 - sha256 = "sha256-5doytVxemqaXWXiqDSQUEAe71xmY0pOLASj/NJNyM5g="; 11 + sha256 = "sha256-NUBodIojvlw46yLZ9Bn2pCpBwyVW8noOHQMM4uGmO3U="; 12 12 }; 13 13 14 14 postPatch = ''
+3 -3
pkgs/games/quake3/ioquake/default.nix
··· 4 4 5 5 stdenv.mkDerivation { 6 6 pname = "ioquake3-git"; 7 - version = "2020-12-26"; 7 + version = "2021-07-20"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "ioquake"; 11 11 repo = "ioq3"; 12 - rev = "05180e32dcfb9a4552e1b9652b56127248a9950c"; 13 - sha256 = "0hcxxa1ambpdwhg7nb5hvb32g49rl5p9dcflpzcv5cax9drn166i"; 12 + rev = "bc8737d707595aebd7cc11d6d5a5d65ede750f59"; 13 + sha256 = "1icrkaw6c5c5ndy886bn65lycwnxzxwvz0ndz4p9i6r716k11add"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ which pkg-config ];
+13 -29
pkgs/misc/emulators/fceux/default.nix
··· 1 - {lib, stdenv, fetchFromGitHub, scons, zlib, SDL, lua5_1, pkg-config}: 1 + { lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, SDL2, lua5_1, minizip, x264 }: 2 2 3 - stdenv.mkDerivation { 4 - pname = "fceux-unstable"; 5 - version = "2020-01-29"; 3 + stdenv.mkDerivation rec { 4 + pname = "fceux"; 5 + version = "2.4.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "TASVideos"; 9 - repo = "fceux"; 10 - rev = "fb8d46d9697cb24b0ebe79d84eedf282f69ab337"; 11 - sha256 = "0gpz411dzfwx9mr34yi4zb1hphd5hha1nvwgzxki0sviwafca992"; 9 + repo = pname; 10 + rev = "${pname}-${version}"; 11 + sha256 = "sha256-i0mb0vy46D97oOpAjMw3CPbG4w/LWP9YRVEMWjdYgs0="; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkg-config scons ]; 15 - buildInputs = [ 16 - zlib SDL lua5_1 17 - ]; 18 - 19 - sconsFlags = "OPENGL=false GTK=false CREATE_AVI=false LOGO=false"; 20 - prefixKey = "--prefix="; 14 + nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; 15 + buildInputs = [ SDL2 lua5_1 minizip x264 ]; 21 16 22 - # sed allows scons to find libraries in nix. 23 - # mkdir is a hack to make scons succeed. It still doesn't 24 - # actually put the files in there due to a bug in the SConstruct file. 25 - # OPENGL doesn't work because fceux dlopens the library. 26 - preBuild = '' 27 - sed -e 's/env *= *Environment *.*/&; env['"'"'ENV'"'"']=os.environ;/' -i SConstruct 28 - export CC="gcc" 29 - export CXX="g++" 30 - mkdir -p "$out" "$out/share/applications" "$out/share/pixmaps" 31 - ''; 32 - 33 - meta = { 17 + meta = with lib; { 34 18 description = "A Nintendo Entertainment System (NES) Emulator"; 35 - license = lib.licenses.gpl2; 36 - maintainers = [ lib.maintainers.scubed2 ]; 19 + license = licenses.gpl2Plus; 20 + maintainers = with maintainers; [ sbruder scubed2 ]; 37 21 homepage = "http://www.fceux.com/"; 38 - platforms = lib.platforms.linux; 22 + platforms = platforms.linux; 39 23 }; 40 24 }
+2 -2
pkgs/misc/screensavers/betterlockscreen/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "betterlockscreen"; 22 - version = "4.0.0"; 22 + version = "4.0.1"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "pavanjadhaw"; 26 26 repo = "betterlockscreen"; 27 27 rev = "v${version}"; 28 - sha256 = "1ha1yddrcmbsdljdg3gn7i42csbw8h3zgf4i3mcsmbz8nsvc2wdc"; 28 + sha256 = "sha256-eteuNEGc1BOlYgV7/hwe7z4zqqs/6EJzB88126U1jiU="; 29 29 }; 30 30 31 31 nativeBuildInputs = [ makeWrapper ];
+105 -93
pkgs/misc/vim-plugins/generated.nix
··· 77 77 78 78 ale = buildVimPluginFrom2Nix { 79 79 pname = "ale"; 80 - version = "2021-08-07"; 80 + version = "2021-08-09"; 81 81 src = fetchFromGitHub { 82 82 owner = "dense-analysis"; 83 83 repo = "ale"; 84 - rev = "cc34310a99ece2a1bb8d626f77436e53d43fa18b"; 85 - sha256 = "1gj2hg9qpkxnqks395a4rvgy40a7qg4q260xa8a8zymdf476h57f"; 84 + rev = "a099fe24b2e898c93c0aa4391e5a5631932684a6"; 85 + sha256 = "0gp764xcspvwmhqhjf8f94y2wxw32ids0zfy22r1z0s2zm85088r"; 86 86 }; 87 87 meta.homepage = "https://github.com/dense-analysis/ale/"; 88 88 }; ··· 281 281 282 282 barbar-nvim = buildVimPluginFrom2Nix { 283 283 pname = "barbar-nvim"; 284 - version = "2021-08-07"; 284 + version = "2021-08-09"; 285 285 src = fetchFromGitHub { 286 286 owner = "romgrk"; 287 287 repo = "barbar.nvim"; 288 - rev = "877ef78049d44eee8ebf4d0e6ec541ca23e4ab49"; 289 - sha256 = "0m4yn8kkljn6m45ha7279wv7p9ppjyqrrpagmq92yrqnbfi87qa1"; 288 + rev = "e5a10501b34a1a6a6d9499a7caccc788e41093ec"; 289 + sha256 = "0l492f2kjzp521xwzihdiv8rhbmq2iql0qxhczk68nqy5lj2x7q0"; 290 290 }; 291 291 meta.homepage = "https://github.com/romgrk/barbar.nvim/"; 292 292 }; ··· 363 363 meta.homepage = "https://github.com/fruit-in/brainfuck-vim/"; 364 364 }; 365 365 366 + bufdelete-nvim = buildVimPluginFrom2Nix { 367 + pname = "bufdelete-nvim"; 368 + version = "2021-07-24"; 369 + src = fetchFromGitHub { 370 + owner = "famiu"; 371 + repo = "bufdelete.nvim"; 372 + rev = "f73ecffb790c9b1e356c5511ba6ae3b761331d8d"; 373 + sha256 = "0lyc49c909r74q0pvzx0fmyzl3lvspq590vgkld8b3r6vyp44m2c"; 374 + }; 375 + meta.homepage = "https://github.com/famiu/bufdelete.nvim/"; 376 + }; 377 + 366 378 bufexplorer = buildVimPluginFrom2Nix { 367 379 pname = "bufexplorer"; 368 380 version = "2021-04-20"; ··· 425 437 426 438 chadtree = buildVimPluginFrom2Nix { 427 439 pname = "chadtree"; 428 - version = "2021-08-07"; 440 + version = "2021-08-09"; 429 441 src = fetchFromGitHub { 430 442 owner = "ms-jpq"; 431 443 repo = "chadtree"; 432 - rev = "455cf79d081afec70973819160edf3bcf3c6fd85"; 433 - sha256 = "1kbda51padbi6qgykzwr1rf081p3154rs6zy7gzpzlhi9k61jqnh"; 444 + rev = "0ec533cd84ee16a420ea50941f5c06faa433ec0a"; 445 + sha256 = "1qxzg5yyz07d76msbbxyk1z1nn4p4si6p8cd00knla8mdyfg779p"; 434 446 }; 435 447 meta.homepage = "https://github.com/ms-jpq/chadtree/"; 436 448 }; ··· 798 810 799 811 context_filetype-vim = buildVimPluginFrom2Nix { 800 812 pname = "context_filetype-vim"; 801 - version = "2021-07-25"; 813 + version = "2021-08-08"; 802 814 src = fetchFromGitHub { 803 815 owner = "Shougo"; 804 816 repo = "context_filetype.vim"; 805 - rev = "89496f3c110d907605319355ea9fc2a560827719"; 806 - sha256 = "09shjaxqr71nfq4yj15xkvkh204l7fjr7na0cyx3k3mflmldha8w"; 817 + rev = "28768168261bca161c3f2599e0ed63c96aab6dea"; 818 + sha256 = "1kyfl4xcx9brsnmqb19ibc2sai5zdrjd1vv7zn63halm2imdv2sj"; 807 819 }; 808 820 meta.homepage = "https://github.com/Shougo/context_filetype.vim/"; 809 821 }; ··· 978 990 979 991 defx-nvim = buildVimPluginFrom2Nix { 980 992 pname = "defx-nvim"; 981 - version = "2021-07-15"; 993 + version = "2021-08-08"; 982 994 src = fetchFromGitHub { 983 995 owner = "Shougo"; 984 996 repo = "defx.nvim"; 985 - rev = "6ccd2d35581f5c497b2fe3e6a9ecbbb494210d6e"; 986 - sha256 = "0fg8gv38xvsv7y739m1wix5a384zjn0hqnmkqiz244jxii1l0p8y"; 997 + rev = "d4bf081bc6bdf062097fddbbcf9c8fdf5b8fb101"; 998 + sha256 = "1sdkfij72z068h2fnhay1ppmf9my32jgzr1pf8liqs6647l90i1v"; 987 999 }; 988 1000 meta.homepage = "https://github.com/Shougo/defx.nvim/"; 989 1001 }; ··· 1546 1558 1547 1559 fern-vim = buildVimPluginFrom2Nix { 1548 1560 pname = "fern-vim"; 1549 - version = "2021-08-01"; 1561 + version = "2021-08-08"; 1550 1562 src = fetchFromGitHub { 1551 1563 owner = "lambdalisue"; 1552 1564 repo = "fern.vim"; 1553 - rev = "ff74cd42ca7e76691e826dbdc7efe7ab683e9856"; 1554 - sha256 = "0h7i45rwzf3b8xm1rbyly287769fq1xyvl51sa44nghdy6zhx7vi"; 1565 + rev = "ed2e422f047eb2cc8afcfecea9464984cfa801a0"; 1566 + sha256 = "0jr632pd274xhyji7b1l195i8avf20v4d9g8r4w1ryskirj1k3ry"; 1555 1567 }; 1556 1568 meta.homepage = "https://github.com/lambdalisue/fern.vim/"; 1557 1569 }; ··· 2640 2652 2641 2653 lightspeed-nvim = buildVimPluginFrom2Nix { 2642 2654 pname = "lightspeed-nvim"; 2643 - version = "2021-08-04"; 2655 + version = "2021-08-08"; 2644 2656 src = fetchFromGitHub { 2645 2657 owner = "ggandor"; 2646 2658 repo = "lightspeed.nvim"; 2647 - rev = "9a9a28e58cb00935486acf49fba8683e8b2de22a"; 2648 - sha256 = "0m1y6lwr7gqwshmrr3yzvbbsbrva3h276cj2fnczgchqbix9jzvi"; 2659 + rev = "ec36e68de3b73fd20a02d0cebbb9fd370c2ad532"; 2660 + sha256 = "078b5ri8hg1vd15n7n8v90rpp4abp93sh2zvzn9ybdlk5wl5kn9g"; 2649 2661 }; 2650 2662 meta.homepage = "https://github.com/ggandor/lightspeed.nvim/"; 2651 2663 }; ··· 2724 2736 2725 2737 lsp_signature-nvim = buildVimPluginFrom2Nix { 2726 2738 pname = "lsp_signature-nvim"; 2727 - version = "2021-08-07"; 2739 + version = "2021-08-09"; 2728 2740 src = fetchFromGitHub { 2729 2741 owner = "ray-x"; 2730 2742 repo = "lsp_signature.nvim"; 2731 - rev = "dbd5f6a5116f74ccf89b2ea18d59b629397c7940"; 2732 - sha256 = "1mmm5h14p7jgalvgl68m9gj0dfl1r29kf5z7h4vmzy07q3nm8xq3"; 2743 + rev = "0381f3cb17f46c5e7a7277bb267d8f594da17430"; 2744 + sha256 = "1px2m3v9z2gw60i0vjd984b2v434bdkndihsw51nmvxl3w2mbgii"; 2733 2745 }; 2734 2746 meta.homepage = "https://github.com/ray-x/lsp_signature.nvim/"; 2735 2747 }; ··· 2784 2796 2785 2797 luasnip = buildVimPluginFrom2Nix { 2786 2798 pname = "luasnip"; 2787 - version = "2021-08-07"; 2799 + version = "2021-08-09"; 2788 2800 src = fetchFromGitHub { 2789 2801 owner = "l3mon4d3"; 2790 2802 repo = "luasnip"; 2791 - rev = "f4a2f500afde3624e41557781117d7f50ccc7223"; 2792 - sha256 = "08fflc2ky7zpb0wazim5v46fhqcm8sadpsvkjml544gv29yjx7f3"; 2803 + rev = "86bee9cd7b66237730789e872b952759d2f5b3ac"; 2804 + sha256 = "0ja7jlwlyjiw8imfqmd4m3i5xx6pkfh7sjm108g3k4fpp8xmpbl7"; 2793 2805 }; 2794 2806 meta.homepage = "https://github.com/l3mon4d3/luasnip/"; 2795 2807 }; 2796 2808 2797 2809 lush-nvim = buildVimPluginFrom2Nix { 2798 2810 pname = "lush-nvim"; 2799 - version = "2021-08-07"; 2811 + version = "2021-08-08"; 2800 2812 src = fetchFromGitHub { 2801 2813 owner = "rktjmp"; 2802 2814 repo = "lush.nvim"; 2803 - rev = "b665ea59600f91afe87b8665faec8155c09420f8"; 2804 - sha256 = "0s6n2dsbvr4qr79g8bcil8r80q931m4w6wp7qf4y2lxasjmnnf5g"; 2815 + rev = "08f64bcf46afc3a1116ef23c95822de914d14abe"; 2816 + sha256 = "02m0kshj9q61dihhgckp801gh6r2jz1hw5s3vx46ha2zvzxbvf93"; 2805 2817 }; 2806 2818 meta.homepage = "https://github.com/rktjmp/lush.nvim/"; 2807 2819 }; ··· 3516 3528 3517 3529 null-ls-nvim = buildVimPluginFrom2Nix { 3518 3530 pname = "null-ls-nvim"; 3519 - version = "2021-08-07"; 3531 + version = "2021-08-09"; 3520 3532 src = fetchFromGitHub { 3521 3533 owner = "jose-elias-alvarez"; 3522 3534 repo = "null-ls.nvim"; 3523 - rev = "2f7407775d532b17c3a67a1d948ec910674cd8b0"; 3524 - sha256 = "1jsrl0079jp0pfv4235b1ghhv911dlnrz0mshbbm8bby4jd3q3a4"; 3535 + rev = "07fd5abcab09a370f8d15fc437f79becb121e025"; 3536 + sha256 = "0p45wg4g28w6zlfz8cq9a5ypcsf0l6br98khf5gv81zfr4r7n68h"; 3525 3537 }; 3526 3538 meta.homepage = "https://github.com/jose-elias-alvarez/null-ls.nvim/"; 3527 3539 }; ··· 3564 3576 3565 3577 nvim-autopairs = buildVimPluginFrom2Nix { 3566 3578 pname = "nvim-autopairs"; 3567 - version = "2021-08-07"; 3579 + version = "2021-08-09"; 3568 3580 src = fetchFromGitHub { 3569 3581 owner = "windwp"; 3570 3582 repo = "nvim-autopairs"; 3571 - rev = "50fec950de31edc84bb7799b6a692a187037c03b"; 3572 - sha256 = "05gs9zws4g3y3nn5xyqd4j145f37j8ibax3lrash100jr2v7m8h6"; 3583 + rev = "13820ff0af7dec102b15c68f7c8fcd94302099f7"; 3584 + sha256 = "0b59ikp6z63mls64szk3bc7hzvmwrsb97k6b56vaylbx9g1wvlk6"; 3573 3585 }; 3574 3586 meta.homepage = "https://github.com/windwp/nvim-autopairs/"; 3575 3587 }; ··· 3612 3624 3613 3625 nvim-bufferline-lua = buildVimPluginFrom2Nix { 3614 3626 pname = "nvim-bufferline-lua"; 3615 - version = "2021-08-03"; 3627 + version = "2021-08-09"; 3616 3628 src = fetchFromGitHub { 3617 3629 owner = "akinsho"; 3618 3630 repo = "nvim-bufferline.lua"; 3619 - rev = "3fb698aef5f48b660dacf8abd1bcdff6588dd2b8"; 3620 - sha256 = "15zzjyzz53w79j8jn8bsbxgdgs6qfpxm9pp5xvkkah53g34wfqwd"; 3631 + rev = "5c82307c64143ed2848e6ea1777ee51a40d3b978"; 3632 + sha256 = "07nid4wnd18bd26pl9y79427jsm4k602qph8090rkwl3h9b14w9x"; 3621 3633 }; 3622 3634 meta.homepage = "https://github.com/akinsho/nvim-bufferline.lua/"; 3623 3635 }; ··· 3648 3660 3649 3661 nvim-compe = buildVimPluginFrom2Nix { 3650 3662 pname = "nvim-compe"; 3651 - version = "2021-07-23"; 3663 + version = "2021-08-09"; 3652 3664 src = fetchFromGitHub { 3653 3665 owner = "hrsh7th"; 3654 3666 repo = "nvim-compe"; 3655 - rev = "73529ce61611c9ee3821e18ecc929c422416c462"; 3656 - sha256 = "1r55z5abg7ha3xh84ypbbnc3fs7a1718zqmypc49f3wa6ln2rjxz"; 3667 + rev = "8ed6999e005015251b6b05cb5c0bfe857785b1d4"; 3668 + sha256 = "0921vgji6n5hcb3z2cppz2gfbkww71yn7wqvh3wvgrw041ird3af"; 3657 3669 }; 3658 3670 meta.homepage = "https://github.com/hrsh7th/nvim-compe/"; 3659 3671 }; ··· 3792 3804 3793 3805 nvim-lsputils = buildVimPluginFrom2Nix { 3794 3806 pname = "nvim-lsputils"; 3795 - version = "2021-05-27"; 3807 + version = "2021-08-09"; 3796 3808 src = fetchFromGitHub { 3797 3809 owner = "RishabhRD"; 3798 3810 repo = "nvim-lsputils"; 3799 - rev = "f34927f8ec777f4e91e14afc709de9da1cd70116"; 3800 - sha256 = "1s1pvddgkdslh3r9p08r3xjdpi93d15i4k1jssh8apxzm37gw7lm"; 3811 + rev = "ae2f20d6938bab234815e0bc69dae1a991307b99"; 3812 + sha256 = "0ikim2zwrlc19bpshr1vzsk15wi5z7am59f4fi53rbh985jmncqr"; 3801 3813 }; 3802 3814 meta.homepage = "https://github.com/RishabhRD/nvim-lsputils/"; 3803 3815 }; ··· 3876 3888 3877 3889 nvim-tree-lua = buildVimPluginFrom2Nix { 3878 3890 pname = "nvim-tree-lua"; 3879 - version = "2021-08-07"; 3891 + version = "2021-08-08"; 3880 3892 src = fetchFromGitHub { 3881 3893 owner = "kyazdani42"; 3882 3894 repo = "nvim-tree.lua"; 3883 - rev = "e5a534f51ba65e3a28742b640b6b4702726189a5"; 3884 - sha256 = "1m4sal8wz7z05kvim2c08clzqcqvzfw7jz8dmyk41nllpg2kppqr"; 3895 + rev = "6175d63eaecdc7d80105825f89a6c9864c4dd432"; 3896 + sha256 = "0q716l729flcnqkjs98bgjlqpibm8jpknq9h3izcnas2h5bgrmjj"; 3885 3897 }; 3886 3898 meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua/"; 3887 3899 }; ··· 3900 3912 3901 3913 nvim-treesitter-context = buildVimPluginFrom2Nix { 3902 3914 pname = "nvim-treesitter-context"; 3903 - version = "2021-08-06"; 3915 + version = "2021-08-08"; 3904 3916 src = fetchFromGitHub { 3905 3917 owner = "romgrk"; 3906 3918 repo = "nvim-treesitter-context"; 3907 - rev = "bcc0fa0eb585b5639fbc756c1463cdc8d31f33e6"; 3908 - sha256 = "0ikdrsym0a2ik9rrsclp83gbj73r2chsbin7y54qy16dmii001gy"; 3919 + rev = "9c71ace8af7bfbfef3beb25c648c8d41f72bd09a"; 3920 + sha256 = "1jp4an8nni9m8528lza6vc0bj5pkmzfadzvqrgh6vi545ppmxihl"; 3909 3921 }; 3910 3922 meta.homepage = "https://github.com/romgrk/nvim-treesitter-context/"; 3911 3923 }; ··· 4236 4248 4237 4249 plenary-nvim = buildVimPluginFrom2Nix { 4238 4250 pname = "plenary-nvim"; 4239 - version = "2021-08-03"; 4251 + version = "2021-08-09"; 4240 4252 src = fetchFromGitHub { 4241 4253 owner = "nvim-lua"; 4242 4254 repo = "plenary.nvim"; 4243 - rev = "d897b4d9fdbc51febd71a1f96c96001ae4fa6121"; 4244 - sha256 = "0rgqby4aakqamiw3ykvzhn3vd2grjkzgfxrpzjjp1ipkd2qak8mb"; 4255 + rev = "58a51d59999022fdc05a0b22428124b4f37c07ad"; 4256 + sha256 = "0yxydnvbzzfpyx8y6pqsnkb030nirdh12q138iixqy7l3j9p5jr9"; 4245 4257 }; 4246 4258 meta.homepage = "https://github.com/nvim-lua/plenary.nvim/"; 4247 4259 }; ··· 4273 4285 4274 4286 popup-nvim = buildVimPluginFrom2Nix { 4275 4287 pname = "popup-nvim"; 4276 - version = "2021-05-08"; 4288 + version = "2021-08-09"; 4277 4289 src = fetchFromGitHub { 4278 4290 owner = "nvim-lua"; 4279 4291 repo = "popup.nvim"; 4280 - rev = "5e3bece7b4b4905f4ec89bee74c09cfd8172a16a"; 4281 - sha256 = "1k6rz652fjkzhjd8ljr0l6vfispanrlpq0r4aya4qswzxni4rxhg"; 4292 + rev = "f91d80973f80025d4ed00380f2e06c669dfda49d"; 4293 + sha256 = "1pp1d6kbx8yn4cg2zs8rynvvpa8y89ryr8rial9csg26v2z22z95"; 4282 4294 }; 4283 4295 meta.homepage = "https://github.com/nvim-lua/popup.nvim/"; 4284 4296 }; 4285 4297 4286 4298 presence-nvim = buildVimPluginFrom2Nix { 4287 4299 pname = "presence-nvim"; 4288 - version = "2021-07-28"; 4300 + version = "2021-08-08"; 4289 4301 src = fetchFromGitHub { 4290 4302 owner = "andweeb"; 4291 4303 repo = "presence.nvim"; 4292 - rev = "f2a0dd50c67a62cea144775a120c1246a645f5ed"; 4293 - sha256 = "08di6dfzvn2jzr4ym2ikcf036ycm2pi4s4qwn36nfxyg3zbii71q"; 4304 + rev = "77227a06ecf84037277318758a8026524aa736ab"; 4305 + sha256 = "0x13p4pyby6g425cwm9b42qxknh1k27knf8hhn7jfgb4c5bdzk5a"; 4294 4306 }; 4295 4307 meta.homepage = "https://github.com/andweeb/presence.nvim/"; 4296 4308 }; ··· 4513 4525 4514 4526 riv-vim = buildVimPluginFrom2Nix { 4515 4527 pname = "riv-vim"; 4516 - version = "2020-04-09"; 4528 + version = "2021-08-09"; 4517 4529 src = fetchFromGitHub { 4518 4530 owner = "gu-fan"; 4519 4531 repo = "riv.vim"; 4520 - rev = "e26c3e8dce4c1332e802cde84f83e61ec8a13986"; 4521 - sha256 = "1da3iwrpy08rayrsf8v0ml4khlp9j5i4cffpv9j3iyalcbhk2m9g"; 4532 + rev = "201ffc4e8dbfc3deeb26c6e278980f53d81d7f6a"; 4533 + sha256 = "1drl291lq44hf7qx1g6l5ivqclfb6ih9lj5qy5cmv9w9b3svwlv4"; 4522 4534 }; 4523 4535 meta.homepage = "https://github.com/gu-fan/riv.vim/"; 4524 4536 }; ··· 4923 4935 4924 4936 sql-nvim = buildVimPluginFrom2Nix { 4925 4937 pname = "sql-nvim"; 4926 - version = "2021-08-07"; 4938 + version = "2021-08-09"; 4927 4939 src = fetchFromGitHub { 4928 4940 owner = "tami5"; 4929 4941 repo = "sql.nvim"; 4930 - rev = "58db9ca9d92618af78440e05bc5fc2dac9311fcd"; 4931 - sha256 = "0wxgl7w2qp24ggq4z6s58jpw7cv1qlbxks7sc8vkfsyiyy5b89xl"; 4942 + rev = "653b3dea6f2703dc450621df0589e3665a007656"; 4943 + sha256 = "0ppn7mwv5n46dwhslrpdganrfikcz57v425c5az01nm16n57rp5i"; 4932 4944 }; 4933 4945 meta.homepage = "https://github.com/tami5/sql.nvim/"; 4934 4946 }; ··· 6138 6150 6139 6151 vim-clap = buildVimPluginFrom2Nix { 6140 6152 pname = "vim-clap"; 6141 - version = "2021-08-07"; 6153 + version = "2021-08-08"; 6142 6154 src = fetchFromGitHub { 6143 6155 owner = "liuchengxu"; 6144 6156 repo = "vim-clap"; 6145 - rev = "dffb352d5f49792a4df5653d7adab07a1c688928"; 6146 - sha256 = "1rqm6wsdpx5n6l4kkrxm8bw2837mm63b5n1igq1v4ji5zbjz6si2"; 6157 + rev = "865b453825f309a204909f13b5afa98d36f7369f"; 6158 + sha256 = "1zfbm81qnvz7rgi2awi29id5z0xr6qzv04pj0yaxyhyjmy7frjyk"; 6147 6159 }; 6148 6160 meta.homepage = "https://github.com/liuchengxu/vim-clap/"; 6149 6161 }; ··· 6858 6870 6859 6871 vim-floaterm = buildVimPluginFrom2Nix { 6860 6872 pname = "vim-floaterm"; 6861 - version = "2021-07-14"; 6873 + version = "2021-08-08"; 6862 6874 src = fetchFromGitHub { 6863 6875 owner = "voldikss"; 6864 6876 repo = "vim-floaterm"; 6865 - rev = "daf9389e827dd19d804ffaad19cc8b64e389da6c"; 6866 - sha256 = "0kcjfi61md9n0fgnypamvqsc9k4mykr9wx978qna2xjb19vfkvad"; 6877 + rev = "20618a61bc74f3f1a7fa165431b69685c01048c6"; 6878 + sha256 = "1z7r3zvhr2zcspqxgwgqskf4w2vwmb3ymvk2kl5r0r3paf305jck"; 6867 6879 }; 6868 6880 meta.homepage = "https://github.com/voldikss/vim-floaterm/"; 6869 6881 }; ··· 6918 6930 6919 6931 vim-fugitive = buildVimPluginFrom2Nix { 6920 6932 pname = "vim-fugitive"; 6921 - version = "2021-08-07"; 6933 + version = "2021-08-09"; 6922 6934 src = fetchFromGitHub { 6923 6935 owner = "tpope"; 6924 6936 repo = "vim-fugitive"; 6925 - rev = "55382eb722407daaebe1db1f7f7ed99d99302cf5"; 6926 - sha256 = "0nxcv69sicgbsns6x0ld9z33mlg2kv3dggvln1i99a0ljxr4p8xm"; 6937 + rev = "4adf054a3f6f6ecad303e3e90c169cdf37f6c0e9"; 6938 + sha256 = "1vgv4im6bp7688cdwnfvkh5p1fl69bk83d2rsx733l6n45pczzfv"; 6927 6939 }; 6928 6940 meta.homepage = "https://github.com/tpope/vim-fugitive/"; 6929 6941 }; ··· 7038 7050 7039 7051 vim-go = buildVimPluginFrom2Nix { 7040 7052 pname = "vim-go"; 7041 - version = "2021-08-02"; 7053 + version = "2021-08-09"; 7042 7054 src = fetchFromGitHub { 7043 7055 owner = "fatih"; 7044 7056 repo = "vim-go"; 7045 - rev = "2ee4f84fa9871ce666d89907d3a3985d5109647f"; 7046 - sha256 = "1554919qfr22831hw708hfvi006izzd66ygkymxjc3lsgywp1rl8"; 7057 + rev = "819cd8ff2006706b90f78da8fa4b5842b398bff9"; 7058 + sha256 = "1k0kz8s0km9k5cc0wagfbbclc21rjw29rzbrmd042ldv53ssq8ad"; 7047 7059 }; 7048 7060 meta.homepage = "https://github.com/fatih/vim-go/"; 7049 7061 }; ··· 7784 7796 7785 7797 vim-maktaba = buildVimPluginFrom2Nix { 7786 7798 pname = "vim-maktaba"; 7787 - version = "2021-08-05"; 7799 + version = "2021-08-09"; 7788 7800 src = fetchFromGitHub { 7789 7801 owner = "google"; 7790 7802 repo = "vim-maktaba"; 7791 - rev = "339ab52b488b2d9ced5dde5ebd734b95bc6500f3"; 7792 - sha256 = "1191bdrlc2sxwfick7y82cvl2hsxai32sdspxpwskbigyzsd6xks"; 7803 + rev = "f5127b339a9d776f220cc0393783c55def9d8ce0"; 7804 + sha256 = "0svkpk46fvas5346af2cw2ga03mlwd3rn8pya41f9whybqxdrysg"; 7793 7805 }; 7794 7806 meta.homepage = "https://github.com/google/vim-maktaba/"; 7795 7807 }; ··· 8205 8217 8206 8218 vim-oscyank = buildVimPluginFrom2Nix { 8207 8219 pname = "vim-oscyank"; 8208 - version = "2021-08-07"; 8220 + version = "2021-08-09"; 8209 8221 src = fetchFromGitHub { 8210 8222 owner = "ojroques"; 8211 8223 repo = "vim-oscyank"; 8212 - rev = "e2a6ec4fb91b38591445bdaa9972f54653dbcd49"; 8213 - sha256 = "031xy0h9a55ijfq6ni237x4xl2ywbwm3ad0r0h05dj8g1352s1vr"; 8224 + rev = "1189ef91c95f522159f9fd267a6bd1ea4b070195"; 8225 + sha256 = "12smb5p5lw3gakz6qbbdi11wcbyh8hap70csi8j0crr31fgjmsyf"; 8214 8226 }; 8215 8227 meta.homepage = "https://github.com/ojroques/vim-oscyank/"; 8216 8228 }; ··· 8949 8961 8950 8962 vim-snippets = buildVimPluginFrom2Nix { 8951 8963 pname = "vim-snippets"; 8952 - version = "2021-08-04"; 8964 + version = "2021-08-09"; 8953 8965 src = fetchFromGitHub { 8954 8966 owner = "honza"; 8955 8967 repo = "vim-snippets"; 8956 - rev = "95c6f94bd5849e533542c2e375e3347c7faa1c58"; 8957 - sha256 = "023p5x6h8jwsxv724r6dgy0hh0bi0j0jfq68klm0shl68q4g5awq"; 8968 + rev = "75309fc96c49725cf9bbd7bc881b7b342a60aa9a"; 8969 + sha256 = "1k5n73dz60ds9ahgrkiypk0srh1ys39ahipsxkmm2k94gzmh6hj7"; 8958 8970 }; 8959 8971 meta.homepage = "https://github.com/honza/vim-snippets/"; 8960 8972 }; ··· 9105 9117 9106 9118 vim-swap = buildVimPluginFrom2Nix { 9107 9119 pname = "vim-swap"; 9108 - version = "2021-04-07"; 9120 + version = "2021-08-08"; 9109 9121 src = fetchFromGitHub { 9110 9122 owner = "machakann"; 9111 9123 repo = "vim-swap"; 9112 - rev = "e75fb91c4940447758902f8cab95d13f8be84d0e"; 9113 - sha256 = "0z8mlcjhp1r2v9hs69h6kpk7yfyi7c2y7ck096y5y0hbcwrarn6n"; 9124 + rev = "9358bfdc5e377aa13e7c2c2dd8699ba32b0dcf83"; 9125 + sha256 = "1vi0d4mp3npyv1hz4zyillrw4dpq71b1cqc2lwc4ks5b6g83pf27"; 9114 9126 }; 9115 9127 meta.homepage = "https://github.com/machakann/vim-swap/"; 9116 9128 }; ··· 9646 9658 9647 9659 vim-xtabline = buildVimPluginFrom2Nix { 9648 9660 pname = "vim-xtabline"; 9649 - version = "2021-08-04"; 9661 + version = "2021-08-08"; 9650 9662 src = fetchFromGitHub { 9651 9663 owner = "mg979"; 9652 9664 repo = "vim-xtabline"; 9653 - rev = "dd1a4d7e05c79a48ef4f22400af2aff1b2e09ddd"; 9654 - sha256 = "18sfwc36m7c901lfdk3f5mlx4bhk0vdg4qb54j4fr487hg89vnfc"; 9665 + rev = "da2b4d1094e7771cf2de671ce64bd086da9e8d57"; 9666 + sha256 = "0p48dzjvjb403dbn641h9p0jhip4dbd6w7r9zf73b3wbd2ym6y38"; 9655 9667 }; 9656 9668 meta.homepage = "https://github.com/mg979/vim-xtabline/"; 9657 9669 };
+1
pkgs/misc/vim-plugins/vim-plugin-names
··· 138 138 euclidianAce/BetterLua.vim 139 139 euclio/vim-markdown-composer 140 140 f-person/git-blame.nvim 141 + famiu/bufdelete.nvim 141 142 famiu/feline.nvim 142 143 farmergreg/vim-lastplace 143 144 fatih/vim-go
+2 -3
pkgs/os-specific/linux/firmware/fwupd/default.nix
··· 91 91 92 92 self = stdenv.mkDerivation rec { 93 93 pname = "fwupd"; 94 - version = "1.5.7"; 94 + version = "1.5.12"; 95 95 96 96 # libfwupd goes to lib 97 97 # daemon, plug-ins and libfwupdplugin go to out ··· 100 100 101 101 src = fetchurl { 102 102 url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz"; 103 - sha256 = "16isrrv6zhdgccbfnz7km5g1cnvfnip7aiidkfhf5dlnrnyb2sxh"; 103 + sha256 = "sha256-BluwLlm6s/2H/USARQpAvDR0+X8WP/q0h8VvxA6Qftc="; 104 104 }; 105 105 106 106 patches = [ ··· 296 296 "fwupd/thunderbolt.conf" 297 297 "fwupd/upower.conf" 298 298 "fwupd/uefi_capsule.conf" 299 - "pki/fwupd/GPG-KEY-Hughski-Limited" 300 299 "pki/fwupd/GPG-KEY-Linux-Foundation-Firmware" 301 300 "pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service" 302 301 "pki/fwupd/LVFS-CA.pem"
+6
pkgs/os-specific/linux/kernel/linux-xanmod.nix
··· 44 44 ANDROID_BINDER_IPC = module; 45 45 ANDROID_BINDERFS = module; 46 46 ANDROID_BINDER_DEVICES = freeform "binder,hwbinder,vndbinder"; 47 + 48 + # Futex WAIT_MULTIPLE implementation for Wine / Proton Fsync. 49 + # Futex2 interface compatible w/ latest Wine / Proton Fsync. 50 + FUTEX = yes; 51 + FUTEX2 = yes; 52 + FUTEX_PI = yes; 47 53 }; 48 54 49 55 extraMeta = {
+2 -2
pkgs/os-specific/linux/kernel/linux-zen.nix
··· 1 1 { lib, fetchFromGitHub, buildLinux, ... } @ args: 2 2 3 3 let 4 - version = "5.13.7"; 4 + version = "5.13.9"; 5 5 suffix = "zen1"; 6 6 in 7 7 ··· 14 14 owner = "zen-kernel"; 15 15 repo = "zen-kernel"; 16 16 rev = "v${version}-${suffix}"; 17 - sha256 = "sha256-ZvB5Ejt9MXP4QK5cj9CGQgFJIfDV03IW5xcknCxDui0="; 17 + sha256 = "sha256-RuY6ZIIKU56R+IGMtQDV6mIubGDqonRpsIdlrpAHFXM="; 18 18 }; 19 19 20 20 structuredExtraConfig = with lib.kernel; {
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2021.8.5"; 5 + version = "2021.8.6"; 6 6 components = { 7 7 "abode" = ps: with ps; [ abodepy ]; 8 8 "accuweather" = ps: with ps; [ accuweather ];
+2 -19
pkgs/servers/home-assistant/default.nix
··· 62 62 (mkOverride "pylast" "4.2.0" 63 63 "0zd0dn2l738ndz62vpa751z0ldnm91dcz9zzbvxv53r08l0s9yf3") 64 64 65 - # Pinned due to API changes in pyopenuv>=1.1.0 66 - (self: super: { 67 - pyopenuv = super.pyopenuv.overridePythonAttrs (oldAttrs: rec { 68 - version = "1.0.13"; 69 - src = fetchFromGitHub { 70 - owner = "bachya"; 71 - repo = "pyopenuv"; 72 - rev = version; 73 - sha256 = "1gx9xjkyvqqy8410lnbshq1j5y4cb0cdc4m505g17rwdzdwb01y8"; 74 - }; 75 - postPatch = '' 76 - substituteInPlace pyproject.toml \ 77 - --replace "poetry.masonry.api" "poetry.core.masonry.api" 78 - ''; 79 - }); 80 - }) 81 - 82 65 # Pinned due to API changes in pyruckus>0.12 83 66 (self: super: { 84 67 pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec { ··· 138 121 extraBuildInputs = extraPackages py.pkgs; 139 122 140 123 # Don't forget to run parse-requirements.py after updating 141 - hassVersion = "2021.8.5"; 124 + hassVersion = "2021.8.6"; 142 125 143 126 in with py.pkgs; buildPythonApplication rec { 144 127 pname = "homeassistant"; ··· 155 138 owner = "home-assistant"; 156 139 repo = "core"; 157 140 rev = version; 158 - sha256 = "0alyr87vm0szljw1lgdsv7085rl0m9r16nwdprwskhcjlwllk1bh"; 141 + sha256 = "1hahxvvlk32dbmv2lhn67w1ii5g24znvjqgsq318qv8c2qh5z5ws"; 159 142 }; 160 143 161 144 # leave this in, so users don't have to constantly update their downstream patch handling
+3 -7
pkgs/servers/http/apache-modules/mod_auth_mellon/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 5 5 pname = "mod_auth_mellon"; 6 - version = "0.17.0"; 6 + version = "0.18.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "latchset"; 10 10 repo = "mod_auth_mellon"; 11 11 rev = "v${version}"; 12 - sha256 = "03bkvqkmqq72ff1a8cpvpcxngnlz1p6433y2fkkynpjfr19cna2s"; 12 + sha256 = "0alfa8hz09jdg29bi1mvhwyr2nl0nvss2a2kybrcjvdw1fx6vijn"; 13 13 }; 14 - 15 - patches = [ 16 - ./fixdeps.patch 17 - ]; 18 14 19 15 nativeBuildInputs = [ autoreconfHook pkg-config ]; 20 16 buildInputs = [ apacheHttpd autoconf automake curl glib lasso libtool libxml2 libxslt openssl xmlsec ]; ··· 29 25 ''; 30 26 31 27 meta = with lib; { 32 - homepage = "https://github.com/UNINETT/mod_auth_mellon"; 28 + homepage = "https://github.com/latchset/mod_auth_mellon"; 33 29 description = "An Apache module with a simple SAML 2.0 service provider"; 34 30 license = licenses.gpl2Plus; 35 31 platforms = platforms.linux;
-34
pkgs/servers/http/apache-modules/mod_auth_mellon/fixdeps.patch
··· 1 - diff --git a/Makefile.in b/Makefile.in 2 - index 1388c91..ab28982 100644 3 - --- a/Makefile.in 4 - +++ b/Makefile.in 5 - @@ -42,7 +42,7 @@ DISTFILES=$(SRC) \ 6 - all: mod_auth_mellon.la 7 - 8 - mod_auth_mellon.la: $(SRC) auth_mellon.h auth_mellon_compat.h 9 - - @APXS2@ -Wc,"-std=c99 @MELLON_CFLAGS@ @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@ @CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC) 10 - + @APXS2@ -Wc,"-std=c99 @MELLON_CFLAGS@ @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@ @CFLAGS@ @LIBXML2_CFLAGS@ @XMLSEC_CFLAGS@ @CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@ @LIBXML2_LIBS@ @XMLSEC_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC) 11 - 12 - 13 - # Building configure (for distribution) 14 - diff --git a/configure.ac b/configure.ac 15 - index 421b952..e62768e 100644 16 - --- a/configure.ac 17 - +++ b/configure.ac 18 - @@ -91,6 +91,16 @@ AC_SUBST(GLIB_LIBS) 19 - 20 - AC_SUBST(MELLON_CFLAGS) 21 - 22 - +#include <libxml/uri.h> 23 - +PKG_CHECK_MODULES(LIBXML2, libxml-2.0) 24 - +AC_SUBST(LIBXML2_CFLAGS) 25 - +AC_SUBST(LIBXML2_LIBS) 26 - + 27 - +#include <xmlsec/xmlenc.h> 28 - +PKG_CHECK_MODULES(XMLSEC, xmlsec1-openssl) 29 - +AC_SUBST(XMLSEC_CFLAGS) 30 - +AC_SUBST(XMLSEC_LIBS) 31 - + 32 - # Test to see if we can include lasso/utils.h 33 - # AC_CHECK_HEADER won't work correctly unless we specifiy the include directories 34 - # found in the LASSO_CFLAGS. Save and restore CFLAGS and CPPFLAGS.
+3 -3
pkgs/servers/monitoring/grafana/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "grafana"; 5 - version = "8.1.0"; 5 + version = "8.1.1"; 6 6 7 7 excludedPackages = "\\(alert_webhook_listener\\|clean-swagger\\|release_publisher\\|slow_proxy\\|slow_proxy_mac\\|macaron\\)"; 8 8 ··· 10 10 rev = "v${version}"; 11 11 owner = "grafana"; 12 12 repo = "grafana"; 13 - sha256 = "sha256-l7tVsxyUJ+WEPA3q3pcW3W74/2YlSgz84Au1A9a7s/E="; 13 + sha256 = "sha256-dP0aBlp/956YyRGkIJTR9UtGBMTsSUBt9LYB5yIJvDU="; 14 14 }; 15 15 16 16 srcStatic = fetchurl { 17 17 url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz"; 18 - sha256 = "sha256-OsjIK9NOU5XynzUOLyntTquH0UPwL/Eqw9XjaDsSO+g="; 18 + sha256 = "sha256-kJHZmP+os+qmpdK2bm5FY7rdT0yyXrDYACn+U4xyUr8="; 19 19 }; 20 20 21 21 vendorSha256 = "sha256-cfErlr7YS+8TVy0+XWDiA3h1lMoV3efdsjuH+yEcwXs=";
+10 -21
pkgs/servers/teleport/default.nix
··· 4 4 webassets = fetchFromGitHub { 5 5 owner = "gravitational"; 6 6 repo = "webassets"; 7 - rev = "c63397375632f1a4323918dde78334472f3ffbb9"; 8 - sha256 = "sha256-6YKk0G3s+35PRsUBkKgu/tNoSSwjJ5bTn8DACF4gYr4="; 7 + rev = "2891baa0de7283f61c08ff2fa4494e53f9d4afc1"; 8 + sha256 = "sha256-AvhCOLa+mgty9METlOCARlUOEDMAW6Kk1esSmBbVcok="; 9 9 }; 10 10 in 11 - 12 11 buildGoModule rec { 13 12 pname = "teleport"; 14 - version = "6.2.8"; 13 + version = "7.0.0"; 15 14 16 15 # This repo has a private submodule "e" which fetchgit cannot handle without failing. 17 16 src = fetchFromGitHub { 18 17 owner = "gravitational"; 19 18 repo = "teleport"; 20 19 rev = "v${version}"; 21 - sha256 = "sha256-TVjdz97CUXBKCQh9bYrvtcH4StblBMsXiQ9Gix/NIm4="; 20 + sha256 = "sha256-2GQ3IP5jfT6vSni5hfDex09wXrnUmTpcvH2S6zc399I="; 22 21 }; 23 22 24 23 vendorSha256 = null; 25 24 26 25 subPackages = [ "tool/tctl" "tool/teleport" "tool/tsh" ]; 26 + tags = [ "webassets_embed" ]; 27 27 28 28 nativeBuildInputs = [ zip makeWrapper ]; 29 29 ··· 34 34 ./test.patch 35 35 ]; 36 36 37 - postBuild = '' 38 - pushd . 37 + # Reduce closure size for client machines 38 + outputs = [ "out" "client" ]; 39 + 40 + preBuild = '' 39 41 mkdir -p build 40 42 echo "making webassets" 41 43 cp -r ${webassets}/* webassets/ 42 - make build/webassets.zip 43 - cat build/webassets.zip >> $NIX_BUILD_TOP/go/bin/teleport 44 - rm -fr build/webassets.zip 45 - cd $NIX_BUILD_TOP/go/bin 46 - zip -q -A teleport 47 - popd 44 + make lib/web/build/webassets.zip 48 45 ''; 49 - 50 - # Do not strip the embedded web assets 51 - dontStrip = true; 52 - 53 - # Reduce closure size for client machines 54 - outputs = [ "out" "client" ]; 55 - 56 - buildTargets = [ "full" ]; 57 46 58 47 preCheck = '' 59 48 export HOME=$(mktemp -d)
+11 -32
pkgs/servers/uhub/default.nix
··· 1 - { lib, stdenv, fetchpatch, fetchFromGitHub, cmake, openssl, sqlite, pkg-config, systemd 2 - , tlsSupport ? false }: 1 + { lib, stdenv, fetchpatch, fetchFromGitHub, cmake, openssl, sqlite, pkg-config 2 + , systemd, tlsSupport ? false }: 3 3 4 4 assert tlsSupport -> openssl != null; 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "uhub"; 8 - version = "0.5.0"; 8 + version = "unstable-2019-12-13"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "janvidar"; 12 12 repo = "uhub"; 13 - rev = version; 14 - sha256 = "0zdbxfvw7apmfhqgsfkfp4pn9iflzwdn0zwvzymm5inswfc00pxg"; 13 + rev = "35d8088b447527f56609b85b444bd0b10cd67b5c"; 14 + hash = "sha256-CdTTf82opnpjd7I9TTY+JDEZSfdGFPE0bq/xsafwm/w="; 15 15 }; 16 16 17 17 nativeBuildInputs = [ cmake pkg-config ]; 18 18 buildInputs = [ sqlite systemd ] ++ lib.optional tlsSupport openssl; 19 19 20 - outputs = [ "out" 21 - "mod_example" 22 - "mod_welcome" 23 - "mod_logging" 24 - "mod_auth_simple" 25 - "mod_auth_sqlite" 26 - "mod_chat_history" 27 - "mod_chat_only" 28 - "mod_topic" 29 - "mod_no_guest_downloads" 30 - ]; 31 - 32 - patches = [ 33 - ./plugin-dir.patch 34 - # fix aarch64 build: https://github.com/janvidar/uhub/issues/46 35 - (fetchpatch { 36 - url = "https://github.com/janvidar/uhub/pull/47.patch"; 37 - sha256 = "07yik6za89ar5bxm7m2183i7f6hfbawbxvd4vs02n1zr2fgfxmiq"; 38 - }) 39 - 40 - # Fixed compilation on systemd > 210 41 - (fetchpatch { 42 - url = "https://github.com/janvidar/uhub/commit/70f2a43f676cdda5961950a8d9a21e12d34993f8.diff"; 43 - sha256 = "1jp8fvw6f9jh0sdjml9mahkk6p6b96p6rzg2y601mnnbcdj8y8xp"; 44 - }) 45 - ]; 20 + postPatch = '' 21 + substituteInPlace CMakeLists.txt \ 22 + --replace "/usr/lib/uhub/" "$out/plugins" \ 23 + --replace "/etc/uhub" "$TMPDIR" 24 + ''; 46 25 47 26 cmakeFlags = [ 48 27 "-DSYSTEMD_SUPPORT=ON" 49 - (if tlsSupport then "-DSSL_SUPPORT=ON" else "-DSSL_SUPPORT=OFF") 28 + "-DSSL_SUPPORT=${if tlsSupport then "ON" else "OFF"}" 50 29 ]; 51 30 52 31 meta = with lib; {
-19
pkgs/servers/uhub/plugin-dir.patch
··· 1 - --- a/CMakeLists.txt 2 - +++ b/CMakeLists.txt 3 - @@ -241,8 +241,14 @@ 4 - 5 - if (UNIX) 6 - install( TARGETS uhub uhub-passwd RUNTIME DESTINATION bin ) 7 - - install( TARGETS mod_example mod_welcome mod_logging mod_auth_simple mod_auth_sqlite mod_chat_history mod_chat_history_sqlite mod_chat_only mod_topic mod_no_guest_downloads DESTINATION /usr/lib/uhub/ OPTIONAL ) 8 - - install( FILES ${CMAKE_SOURCE_DIR}/doc/uhub.conf ${CMAKE_SOURCE_DIR}/doc/plugins.conf ${CMAKE_SOURCE_DIR}/doc/rules.txt ${CMAKE_SOURCE_DIR}/doc/motd.txt DESTINATION /etc/uhub OPTIONAL ) 9 - + 10 - + set( PLUGINS mod_example mod_welcome mod_logging mod_auth_simple mod_auth_sqlite mod_chat_history mod_chat_only mod_topic mod_no_guest_downloads ) 11 - + 12 - + foreach( PLUGIN ${PLUGINS} ) 13 - + install( TARGETS ${PLUGIN} DESTINATION $ENV{${PLUGIN}} OPTIONAL ) 14 - + endforeach( PLUGIN ) 15 - + 16 - + install( FILES ${CMAKE_SOURCE_DIR}/doc/uhub.conf ${CMAKE_SOURCE_DIR}/doc/plugins.conf ${CMAKE_SOURCE_DIR}/doc/rules.txt ${CMAKE_SOURCE_DIR}/doc/motd.txt DESTINATION doc/ OPTIONAL ) 17 - endif() 18 - 19 -
+11 -13
pkgs/servers/web-apps/cryptpad/bower-packages.nix
··· 1 1 # Generated by bower2nix v3.2.0 (https://github.com/rvl/bower2nix) 2 2 { fetchbower, buildEnv }: 3 3 buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [ 4 - (fetchbower "jquery" "2.1.0" "~2.1.0" "02kwvz93vzpv10qnp7s0dz3al0jh77awwrizb6wadsvgifxssnlr") 5 4 (fetchbower "jquery" "2.2.4" "2.2.4" "0kaln93pzjlr4vqf2zvsm9dwgjkrii9xlsqg48hc1vs16cl109rn") 6 5 (fetchbower "tweetnacl" "0.12.2" "0.12.2" "1lfzbfrdaly3zyzbcp1p53yhxlrx56k8x04q924kg7l52gblm65g") 7 6 (fetchbower "components-font-awesome" "4.7.0" "^4.6.3" "1w27im6ayjrbgjqa0i49ml5d3wy4ld40h9b29hz9myv77bpx4lg1") 8 7 (fetchbower "ckeditor" "4.14.0" "4.14.0" "0lw9q0k8c0jlxvf35vrccab9c3c8rgpc6x66czj9si8yy2lyliyp") 9 - (fetchbower "codemirror" "5.56.0+components1" "^5.19.0" "0fv8rxw6dspyv4bl6p2aka57544f45527rallnhnm5scv77qnakm") 8 + (fetchbower "codemirror" "5.61.1" "^5.19.0" "1abm1fcps86y2qm033wa96pd6ixf9w01vlhly5i51j0j94arnz4g") 10 9 (fetchbower "requirejs" "2.3.5" "2.3.5" "05lyvgz914h2w08r24rk0vkk3yxmqrvlg7j3i5av9ffkg9lpzsli") 11 10 (fetchbower "marked" "1.1.0" "1.1.0" "1sdgqw9iki9c1pfm4c5h6c956mchbip2jywjrcmrlb75k53flsjz") 12 11 (fetchbower "rangy" "rangy-release#1.3.0" "rangy-release#~1.3.0" "13x3wci003p8jyv2ncir0k23bxckx99b3555r0zvgmlwycg7w0zv") 13 12 (fetchbower "json.sortify" "2.1.0" "~2.1.0" "1rz9xz0gnm4ak31n10vhslqsw8fw493gjylwj8xsy3bxqq1ygpnh") 14 13 (fetchbower "secure-fabric.js" "secure-v1.7.9" "secure-v1.7.9" "1l56mk7hbnsm9cdg5zdcmg95p7a9w96dq0bbl8fp11vs0awjil7a") 15 14 (fetchbower "hyperjson" "1.4.0" "~1.4.0" "1n68ls3x4lyhg1yy8i4q3xkgh5xqpyakf45sny4x91mkr68x4bd9") 16 - (fetchbower "chainpad-crypto" "0.2.4" "^0.2.0" "0sqqc2j0pc34ig6319n18i85j03hibqkhz3cbr70vbd8x43vfzby") 17 - (fetchbower "chainpad-listmap" "0.9.0" "^0.9.0" "173yr5a6zxq7nb3fha6f1ajv2vy0mvqwmm949ww7ihvrhh7cd0f5") 18 - (fetchbower "chainpad" "5.2.2" "^5.2.0" "1rmh039bqk11xnnh99sqrqksr4idly75y5q4f5wyl9cg4slsqrdp") 15 + (fetchbower "chainpad-crypto" "0.2.6" "^0.2.0" "0h6ibv6gcym7mm080swdw4l6l159xjmxgqnahyxw3aydha5cj1z0") 16 + (fetchbower "chainpad-listmap" "0.10.2" "^0.10.0" "03j3qws0icam4c0yqrz7f6maf1dxhlc56hc6csr2d9dx0wshd57s") 17 + (fetchbower "chainpad" "5.2.4" "^5.2.0" "1f4nap0r8w50qpmjdfhhjhpz5xcl0n4zaxxnav1qaxi5j6dyg8h6") 19 18 (fetchbower "file-saver" "1.3.1" "1.3.1" "065nzkvdiicxnw06z1sjz1sbp9nyis8z839hv6ng1fk25dc5kvkg") 20 19 (fetchbower "alertifyjs" "1.0.11" "1.0.11" "0v7323bzq90k35shm3h6azj4wd9la3kbi1va1pw4qyvndkwma69l") 21 20 (fetchbower "scrypt-async" "1.2.0" "1.2.0" "0d076ax708p9b8hcmk4f82j925nlnm0hmp0ni45ql37g7iirfpyv") 22 21 (fetchbower "require-css" "0.1.10" "0.1.10" "106gz9i76v71q9zx2pnqkkj342m630lvssnw54023a0ljc0gqcwq") 23 22 (fetchbower "less" "3.7.1" "3.7.1" "1n7ps4xlbrc9m63b3q62mg3p6i7d5hwchhpjshb0drzj5crvz556") 24 - (fetchbower "bootstrap" "3.1.1" "~3.1.1" "06bhjwa8p7mzbpr3jkgydd804z1nwrkdql66h7jkfml99psv9811") 25 - (fetchbower "bootstrap" "4.5.0" "^v4.0.0" "0cfdn6z8jwx6y8lbbq6xpkfhq2vra0i84nkj9ji2bil1fzgzi40f") 23 + (fetchbower "bootstrap" "4.6.0" "^v4.0.0" "1pp2n88pkms25p7mbna7vxxl5mkpdn8nvnfzwcwpp6b0871njmr6") 26 24 (fetchbower "diff-dom" "2.1.1" "2.1.1" "0nrn6xqlhp0p5ixjxdk8qg3939crkggh1l8swd20d7bsz186l5f1") 27 25 (fetchbower "nthen" "0.1.7" "0.1.7" "03yap5ildigaw4rwxmxs37pcwhq415iham8w39zd56ka98gpfxa5") 28 26 (fetchbower "open-sans-fontface" "1.4.2" "^1.4.2" "0ksav1fcq640fmdz49ra4prwsrrfj35y2p4shx1jh1j7zxd044nf") 29 - (fetchbower "bootstrap-tokenfield" "0.12.1" "^0.12.1" "0ib1v5k8h360sp19yiy7q92rfaz2554fvwwg2ixmxn01ydqlprw6") 30 - (fetchbower "localforage" "1.8.1" "^1.5.2" "0ci265385racnxvn4g1n672yaxi47msw6k042nxdb5vlpf5g327j") 27 + (fetchbower "bootstrap-tokenfield" "0.12.1" "0.12.1" "1dh791s6ih8bf9ihck9n39h68c273jb3lg4mqk94bvqraz45fvwx") 28 + (fetchbower "localforage" "1.9.0" "^1.5.2" "18ds5427gaschld5afwi128hqy8kysa1b1ckbrzbmqz8xnlshmc2") 31 29 (fetchbower "html2canvas" "0.4.1" "^0.4.1" "0yg7y90nav068q0i5afc2c221zkddpf28hi0hwc46cawx4180c69") 32 30 (fetchbower "croppie" "2.6.5" "^2.5.0" "1j1v5620zi13ad42r358i4ay891abwn6nz357484kgq2bgjj6ccx") 33 - (fetchbower "sortablejs" "1.10.2" "^1.6.0" "10q4gyblhjy7w51clr0k9j7h722l4ybzn5535givwpmp6xagv11v") 31 + (fetchbower "sortablejs" "1.14.0" "^1.6.0" "104d688lrbwxi3hnfr4q169850ffyfv1s8qnycqxhx0zfh3887m0") 34 32 (fetchbower "saferphore" "0.0.1" "^0.0.1" "1wfr9wpbm3lswmvy2p0247ydb108h4qh5s286py89k871qh6jwdi") 35 - (fetchbower "jszip" "Stuk/jszip#3.5.0" "Stuk/jszip#^3.1.5" "1ra19d82cq1hrnbw88l8c61bs12kpgxvbfiiwpfi8fhy0l8hcsvk") 33 + (fetchbower "jszip" "Stuk/jszip#3.7.1" "Stuk/jszip#^3.1.5" "0lzq1zd2glvfh3wwj73c9sffas56ql5472yj1cwq3g7iva5iliwq") 36 34 (fetchbower "requirejs-plugins" "1.0.3" "^1.0.3" "00s3sdz1ykygx5shldwhhhybwgw7c99vkqd94i5i5x0gl97ifxf5") 37 35 (fetchbower "dragula.js" "3.7.2" "3.7.2" "0dbkmrl8bcxiplprmmp9fj96ri5nahb2ql8cc7zwawncv0drvlh0") 38 36 (fetchbower "MathJax" "3.0.5" "3.0.5" "087a9av15qj43m8pr3b9g59ncmydhmg40m6dfzsac62ykianh2a0") 39 - (fetchbower "chainpad-netflux" "0.11.2" "^0.11.0" "1dqfricbm6s8iv7w1bsx1700m5cpk5rk1f4spqv0fqyf6mdz366v") 40 - (fetchbower "netflux-websocket" "0.1.20" "^0.1.20" "1xwqq7nw7fmhglndbplarkdzxfmkq831aqs8nm6qj0hz2ggbibhz") 37 + (fetchbower "chainpad-netflux" "0.12.9" "^0.12.0" "1b2jkfl354gs9iy05i6db9g0hnngacxd2wdv59lc0icbmx62fpvi") 38 + (fetchbower "netflux-websocket" "0.1.21" "^0.1.20" "13ia8cqipq1jnyzzxwf9yy91gzwnwb2g5kzb6l8id5gdr415q5yn") 41 39 (fetchbower "es6-promise" "3.3.1" "^3.2.2" "0ai6z5admfs84fdx6663ips49kqgz4x68ays78cic0xfb7pp6vcz") 42 40 ]; }
+37 -16
pkgs/servers/web-apps/cryptpad/default.nix
··· 2 2 , pkgs 3 3 , lib 4 4 , buildBowerComponents 5 + , fetchbower 5 6 , fetchurl 6 7 , nodejs 7 8 }: ··· 12 13 inherit (stdenv.hostPlatform) system; 13 14 }; 14 15 15 - bowerPackages = buildBowerComponents { 16 + bowerPackages = (buildBowerComponents { 16 17 name = "${cryptpad.name}-bower-packages"; 17 - # this list had to be tweaked by hand: 18 - # * add the second jquery ~2.1.0 entry 19 - # * add the second bootstrap ~3.1.1 entry 20 18 generated = ./bower-packages.nix; 21 19 src = cryptpad.src; 22 - }; 20 + }).overrideAttrs (old: { 21 + bowerPackages = old.bowerPackages.override (old_: { 22 + # add missing dependencies: 23 + # Those dependencies are EOL and they are not installed by buildBowerComponents, 24 + # but they are required, otherwise the resolver crashes. 25 + # * add the second jquery ~2.1.0 entry 26 + # * add the second bootstrap ~3.1.1 entry 27 + paths = old_.paths ++ [ 28 + (fetchbower "jquery" "2.1.0" "~2.1.0" "02kwvz93vzpv10qnp7s0dz3al0jh77awwrizb6wadsvgifxssnlr") 29 + (fetchbower "bootstrap" "3.1.1" "~3.1.1" "06bhjwa8p7mzbpr3jkgydd804z1nwrkdql66h7jkfml99psv9811") 30 + ]; 31 + }); 32 + }); 23 33 24 34 # find an element in an attribute set 25 35 findValue = pred: default: set: 26 36 let 27 37 list = 28 38 lib.concatMap 29 - (name: 30 - let v = set.${name}; in 31 - if pred name v then [v] else [] 32 - ) 33 - (lib.attrNames set) 34 - ; 39 + (name: 40 + let v = set.${name}; in 41 + if pred name v then [ v ] else [ ] 42 + ) 43 + (lib.attrNames set) 44 + ; 35 45 in 36 - if list == [] then default 37 - else lib.head list 38 - ; 46 + if list == [ ] then default 47 + else lib.head list 48 + ; 39 49 40 50 # The cryptpad package attribute key changes for each release. Get it out 41 51 # programatically instead. ··· 43 53 (k: v: v.packageName == "cryptpad") 44 54 (throw "cryptpad not found") 45 55 nodePackages 46 - ; 56 + ; 47 57 48 58 combined = cryptpad.override { 49 59 postInstall = '' ··· 64 74 EOF 65 75 chmod +x $out/bin/cryptpad 66 76 ''; 77 + 78 + meta = { 79 + longDescription = '' 80 + CryptPad is a collaboration suite that is end-to-end-encrypted and open-source. 81 + It is built to enable collaboration, synchronizing changes to documents in real time. 82 + Because all data is encrypted, the service and its administrators have no way of seeing the content being edited and stored. 83 + ''; 84 + maintainers = with lib.maintainers; [ davhau ]; 85 + mainProgram = "cryptpad"; 86 + }; 87 + 67 88 }; 68 89 in 69 - combined 90 + combined
+11 -4
pkgs/servers/web-apps/cryptpad/generate.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #! nix-shell -i bash -I nixpkgs=../../../.. -p nodePackages.node2nix nodePackages.bower2nix 2 + #! nix-shell -i bash -I nixpkgs=../../../.. -p nodePackages.node2nix nix 3 + 4 + # This script is meant to be run in the current directory 5 + 6 + cryptpadSrc=$(nix eval '(import ../../../.. {}).cryptpad.src' --raw) 7 + echo "cryptpad src: $cryptpadSrc" 8 + 9 + nix-shell -I nixpkgs=../../../.. -p '(nodePackages.override { nodejs = nodejs-10_x; }).bower2nix' --run "bower2nix $cryptpadSrc/bower.json bower-packages.nix" 10 + 11 + 3 12 set -euo pipefail 4 13 5 14 node2nix --nodejs-12 \ 6 15 --input node-packages.json \ 7 16 --output node-packages-generated.nix \ 8 17 --composition node-packages.nix \ 9 - --node-env ../../../development/node-packages/node-env.nix \ 10 - 11 - # TODO: bower2nix > bower-packages.nix 18 + --node-env ../../../development/node-packages/node-env.nix
+54 -44
pkgs/servers/web-apps/cryptpad/node-packages-generated.nix
··· 4 4 5 5 let 6 6 sources = { 7 + "@mcrowe/minibloom-0.2.0" = { 8 + name = "_at_mcrowe_slash_minibloom"; 9 + packageName = "@mcrowe/minibloom"; 10 + version = "0.2.0"; 11 + src = fetchurl { 12 + url = "https://registry.npmjs.org/@mcrowe/minibloom/-/minibloom-0.2.0.tgz"; 13 + sha1 = "1bed96aec18388198da37443899b2c3ff5948053"; 14 + }; 15 + }; 7 16 "accepts-1.3.7" = { 8 17 name = "accepts"; 9 18 packageName = "accepts"; ··· 49 58 sha1 = "d32815404d689699f85a4ea4fa8755dd13a96048"; 50 59 }; 51 60 }; 52 - "chainpad-crypto-0.2.5" = { 61 + "chainpad-crypto-0.2.6" = { 53 62 name = "chainpad-crypto"; 54 63 packageName = "chainpad-crypto"; 55 - version = "0.2.5"; 64 + version = "0.2.6"; 56 65 src = fetchurl { 57 - url = "https://registry.npmjs.org/chainpad-crypto/-/chainpad-crypto-0.2.5.tgz"; 58 - sha512 = "K9vRsAspuX+uU1goXPz0CawpLIaOHq+1JP3WfDLqaz67LbCX/MLIUt9aMcSeIJcwZ9uMpqnbMGRktyVPoz6MCA=="; 66 + url = "https://registry.npmjs.org/chainpad-crypto/-/chainpad-crypto-0.2.6.tgz"; 67 + sha512 = "yk7bBj22rs9PaX6LiqQxiw+Vj/afBStsNP1xP/B4Uh9a8iyJ7JrSZJ2Hj3d6fyqxJlBrMAX82Aj5PCZb5dzzHw=="; 59 68 }; 60 69 }; 61 - "chainpad-server-4.0.9" = { 70 + "chainpad-server-5.1.0" = { 62 71 name = "chainpad-server"; 63 72 packageName = "chainpad-server"; 64 - version = "4.0.9"; 73 + version = "5.1.0"; 65 74 src = fetchurl { 66 - url = "https://registry.npmjs.org/chainpad-server/-/chainpad-server-4.0.9.tgz"; 67 - sha512 = "8h1W41ktE05TM6LuXrklpW2TUxWeNyIDiRaQygKsXaA/7pyJxF7+AmPVS+xW0c31VkHjQDPiaMzPoxhcxXnIyA=="; 75 + url = "https://registry.npmjs.org/chainpad-server/-/chainpad-server-5.1.0.tgz"; 76 + sha512 = "BdjgOOLTXXo1EjQ7lURDe7oqsqfQISNvwhILfp3K3diY2K1hxpPLbjYzOSgxNOTADeOAff0xnInR5eUCESVWaQ=="; 68 77 }; 69 78 }; 70 79 "content-disposition-0.5.2" = { ··· 184 193 sha512 = "Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg=="; 185 194 }; 186 195 }; 187 - "forwarded-0.1.2" = { 196 + "forwarded-0.2.0" = { 188 197 name = "forwarded"; 189 198 packageName = "forwarded"; 190 - version = "0.1.2"; 199 + version = "0.2.0"; 191 200 src = fetchurl { 192 - url = "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz"; 193 - sha1 = "98c23dab1175657b8c0573e8ceccd91b0ff18c84"; 201 + url = "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz"; 202 + sha512 = "buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="; 194 203 }; 195 204 }; 196 205 "fresh-0.5.2" = { ··· 229 238 sha512 = "+CEb+GDCM7tkOS2wdMKTn9vU7DgnKUTuDlehkNJKNSovdCOVxs14OfKCk4cvSaR3za4gj+OBdl9opPN9xrJ0zA=="; 230 239 }; 231 240 }; 232 - "graceful-fs-4.2.4" = { 241 + "graceful-fs-4.2.8" = { 233 242 name = "graceful-fs"; 234 243 packageName = "graceful-fs"; 235 - version = "4.2.4"; 244 + version = "4.2.8"; 236 245 src = fetchurl { 237 - url = "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz"; 238 - sha512 = "WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="; 246 + url = "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz"; 247 + sha512 = "qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg=="; 239 248 }; 240 249 }; 241 250 "http-errors-1.6.3" = { ··· 337 346 sha512 = "KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ=="; 338 347 }; 339 348 }; 340 - "mime-db-1.45.0" = { 349 + "mime-db-1.49.0" = { 341 350 name = "mime-db"; 342 351 packageName = "mime-db"; 343 - version = "1.45.0"; 352 + version = "1.49.0"; 344 353 src = fetchurl { 345 - url = "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz"; 346 - sha512 = "CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w=="; 354 + url = "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz"; 355 + sha512 = "CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA=="; 347 356 }; 348 357 }; 349 - "mime-types-2.1.28" = { 358 + "mime-types-2.1.32" = { 350 359 name = "mime-types"; 351 360 packageName = "mime-types"; 352 - version = "2.1.28"; 361 + version = "2.1.32"; 353 362 src = fetchurl { 354 - url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz"; 355 - sha512 = "0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ=="; 363 + url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz"; 364 + sha512 = "hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A=="; 356 365 }; 357 366 }; 358 367 "ms-2.0.0" = { ··· 373 382 sha512 = "hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="; 374 383 }; 375 384 }; 376 - "netflux-websocket-0.1.20" = { 385 + "netflux-websocket-0.1.21" = { 377 386 name = "netflux-websocket"; 378 387 packageName = "netflux-websocket"; 379 - version = "0.1.20"; 388 + version = "0.1.21"; 380 389 src = fetchurl { 381 - url = "https://registry.npmjs.org/netflux-websocket/-/netflux-websocket-0.1.20.tgz"; 382 - sha512 = "svFkw4ol4gmkcXKnx5kF/8tR9mmtTCDzUlLy4mSlcNl/4iWlbDmgwp/+aJ3nqtv8fg12m+DAFGX2+fbC0//dcg=="; 390 + url = "https://registry.npmjs.org/netflux-websocket/-/netflux-websocket-0.1.21.tgz"; 391 + sha512 = "Zjl5lefg8urC0a0T7YCPGiUgRsISZBsTZl1STylmQz8Bq4ohcZ8cP3r6VoCpeVcvJ1Y/e3ZCXPxndWlNP9Jfug=="; 383 392 }; 384 393 }; 385 394 "nthen-0.1.8" = { ··· 418 427 sha1 = "df604178005f522f15eb4490e7247a1bfaa67f8c"; 419 428 }; 420 429 }; 421 - "proxy-addr-2.0.6" = { 430 + "proxy-addr-2.0.7" = { 422 431 name = "proxy-addr"; 423 432 packageName = "proxy-addr"; 424 - version = "2.0.6"; 433 + version = "2.0.7"; 425 434 src = fetchurl { 426 - url = "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz"; 427 - sha512 = "dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw=="; 435 + url = "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz"; 436 + sha512 = "llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="; 428 437 }; 429 438 }; 430 439 "pull-stream-3.6.14" = { ··· 647 656 }; 648 657 in 649 658 { 650 - "cryptpad-git+https://github.com/xwiki-labs/cryptpad.git#3.20.1" = nodeEnv.buildNodePackage { 659 + "cryptpad-git+https://github.com/xwiki-labs/cryptpad.git#4.9.0" = nodeEnv.buildNodePackage { 651 660 name = "cryptpad"; 652 661 packageName = "cryptpad"; 653 - version = "3.20.1"; 662 + version = "4.9.0"; 654 663 src = fetchgit { 655 664 url = "https://github.com/xwiki-labs/cryptpad.git"; 656 - rev = "9bc27d7d0d50d17c345bd545a45341a05293c558"; 657 - sha256 = "4a1fc833b38b2097741500cef38c6b04f5b752c21736e95eb492c33012016332"; 665 + rev = "b1281fb4abd14e9758d58df4801e0a00eda7bc44"; 666 + sha256 = "ed2d0e2520645fccdada7fa5f25bb878c0ee0e61d6c81a98c18906c12750578c"; 658 667 }; 659 668 dependencies = [ 669 + sources."@mcrowe/minibloom-0.2.0" 660 670 sources."accepts-1.3.7" 661 671 sources."array-flatten-1.1.1" 662 672 sources."async-limiter-1.0.1" 663 673 sources."body-parser-1.18.3" 664 674 sources."bytes-3.0.0" 665 - (sources."chainpad-crypto-0.2.5" // { 675 + (sources."chainpad-crypto-0.2.6" // { 666 676 dependencies = [ 667 677 sources."tweetnacl-git+https://github.com/dchest/tweetnacl-js.git#v0.12.2" 668 678 ]; 669 679 }) 670 - sources."chainpad-server-4.0.9" 680 + sources."chainpad-server-5.1.0" 671 681 sources."content-disposition-0.5.2" 672 682 sources."content-type-1.0.4" 673 683 sources."cookie-0.3.1" ··· 681 691 sources."etag-1.8.1" 682 692 sources."express-4.16.4" 683 693 sources."finalhandler-1.1.1" 684 - sources."forwarded-0.1.2" 694 + sources."forwarded-0.2.0" 685 695 sources."fresh-0.5.2" 686 696 sources."fs-extra-7.0.1" 687 697 sources."gar-1.0.4" 688 698 sources."get-folder-size-2.0.1" 689 - sources."graceful-fs-4.2.4" 699 + sources."graceful-fs-4.2.8" 690 700 sources."http-errors-1.6.3" 691 701 sources."iconv-lite-0.4.23" 692 702 sources."inherits-2.0.3" ··· 698 708 sources."merge-descriptors-1.0.1" 699 709 sources."methods-1.1.2" 700 710 sources."mime-1.4.1" 701 - sources."mime-db-1.45.0" 702 - sources."mime-types-2.1.28" 711 + sources."mime-db-1.49.0" 712 + sources."mime-types-2.1.32" 703 713 sources."ms-2.0.0" 704 714 sources."negotiator-0.6.2" 705 - sources."netflux-websocket-0.1.20" 715 + sources."netflux-websocket-0.1.21" 706 716 sources."nthen-0.1.8" 707 717 sources."on-finished-2.3.0" 708 718 sources."parseurl-1.3.3" 709 719 sources."path-to-regexp-0.1.7" 710 - sources."proxy-addr-2.0.6" 720 + sources."proxy-addr-2.0.7" 711 721 sources."pull-stream-3.6.14" 712 722 sources."qs-6.5.2" 713 723 sources."range-parser-1.2.1"
+1 -1
pkgs/servers/web-apps/cryptpad/node-packages.json
··· 1 1 [ 2 - { "cryptpad": "git+https://github.com/xwiki-labs/cryptpad.git#3.20.1" } 2 + { "cryptpad": "git+https://github.com/xwiki-labs/cryptpad.git#4.9.0" } 3 3 ]
+4 -4
pkgs/tools/admin/afterburn/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "afterburn"; 5 - version = "5.0.0"; 5 + version = "5.1.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "coreos"; 9 9 repo = "afterburn"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-sdgAZuT8bIX4eWN7nLNNyclxazmCBr5kDFS6s6cRXVU="; 11 + sha256 = "sha256-5dzgvoR6qGlVz0RJ1j9B4yna1aCbOczVLcU++GWNEL8="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-IzcaaQjge2z49XwyFcPHX/AMjvrbcOLw0J1qBzHw7Is="; 14 + cargoSha256 = "sha256-cqipYIH/XHMe7ppsXPVnDfsUqXoIep7CHiOGEPbZK4M="; 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 buildInputs = [ openssl ]; 18 18 19 - patchPhase = '' 19 + postPatch = '' 20 20 substituteInPlace ./systemd/afterburn-checkin.service --replace /usr/bin $out/bin 21 21 substituteInPlace ./systemd/afterburn-firstboot-checkin.service --replace /usr/bin $out/bin 22 22 substituteInPlace ./systemd/afterburn-sshkeys@.service.in --replace /usr/bin $out/bin
+3 -3
pkgs/tools/admin/clair/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "clair"; 5 - version = "4.1.2"; 5 + version = "4.2.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "quay"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-eeNJ6oQayPBOHKsFrr2JbdLSv3R7N1xW3lV4LgVpUI4="; 11 + sha256 = "sha256-PVR7QMndjfCNVo9U3lnArpRBxLfmOH8iEdFub7hZyio="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-79+j/+X9DQBpUvZuyQCSaoy1f4UnkERh54zmo4AhGwc="; 14 + vendorSha256 = "sha256-npskCUVxNTgI8egVU1id02xHFfTizOb7kBUNfOLdbOc="; 15 15 16 16 doCheck = false; 17 17
+2 -2
pkgs/tools/admin/exoscale-cli/default.nix
··· 2 2 3 3 buildGoPackage rec { 4 4 pname = "exoscale-cli"; 5 - version = "1.39.0"; 5 + version = "1.40.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "exoscale"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-tCvncpD89OYTWW83pScSZqpoxoactARAZDRfEoPaqsc="; 11 + sha256 = "sha256-zhVG9mtkW0avMTtSnJ36qkxuy4SiiAENrKZqE5mXvaA="; 12 12 }; 13 13 14 14 goPackagePath = "github.com/exoscale/cli";
+51
pkgs/tools/admin/realvnc-vnc-viewer/default.nix
··· 1 + { lib, stdenv, fetchurl, autoPatchelfHook, rpmextract, libX11, libXext }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "realvnc-vnc-viewer"; 5 + version = "6.21.406"; 6 + 7 + src = { 8 + "x86_64-linux" = fetchurl { 9 + url = "https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-${version}-Linux-x64.rpm"; 10 + sha256 = "0rnizzanaykqg1vfy56p8abc4fmgpbibj54j4c1v81zsj3kmahka"; 11 + }; 12 + "i686-linux" = fetchurl { 13 + url = "https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-${version}-Linux-x86.rpm"; 14 + sha256 = "1rlxfiqymi1licn2spyiqa00kiwzhdr0pkh7vv3ai6gb9f6phk31"; 15 + }; 16 + }.${stdenv.system}; 17 + 18 + nativeBuildInputs = [ autoPatchelfHook rpmextract ]; 19 + buildInputs = [ libX11 libXext ]; 20 + 21 + unpackPhase = '' 22 + rpmextract $src 23 + ''; 24 + 25 + postPatch = '' 26 + substituteInPlace ./usr/share/applications/realvnc-vncviewer.desktop \ 27 + --replace /usr/share/icons/hicolor/48x48/apps/vncviewer48x48.png vncviewer48x48.png 28 + substituteInPlace ./usr/share/mimelnk/application/realvnc-vncviewer-mime.desktop \ 29 + --replace /usr/share/icons/hicolor/48x48/apps/vncviewer48x48.png vncviewer48x48.png 30 + ''; 31 + 32 + installPhase = '' 33 + runHook preInstall 34 + 35 + mv usr $out 36 + 37 + runHook postInstall 38 + ''; 39 + 40 + meta = with lib; { 41 + description = "VNC remote desktop client software by RealVNC"; 42 + homepage = "https://www.realvnc.com/en/connect/download/viewer/"; 43 + license = { 44 + fullName = "VNC Connect End User License Agreement"; 45 + url = "https://static.realvnc.com/media/documents/LICENSE-4.0a_en.pdf"; 46 + free = false; 47 + }; 48 + maintainers = with maintainers; [ angustrau ]; 49 + platforms = [ "x86_64-linux" "i686-linux" ]; 50 + }; 51 + }
+5 -1
pkgs/tools/backup/gphotos-sync/default.nix
··· 1 - { lib, fetchFromGitHub, python3Packages }: 1 + { lib, fetchFromGitHub, python3Packages, ffmpeg }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "gphotos-sync"; ··· 19 19 pyyaml 20 20 requests_oauthlib 21 21 ]; 22 + 23 + buildInputs = [ ffmpeg ]; 24 + 22 25 checkInputs = with python3Packages; [ 23 26 pytestCheckHook 24 27 mock 25 28 ]; 29 + 26 30 checkPhase = '' 27 31 export HOME=$(mktemp -d) 28 32
+2 -2
pkgs/tools/filesystems/duperemove/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "duperemove"; 6 - version = "0.11.2"; 6 + version = "0.11.3"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "markfasheh"; 10 10 repo = "duperemove"; 11 11 rev = "v${version}"; 12 - sha256 = "1a87mka2sfzhbch2jip6wlvvs0glxq9lqwmyrp359d1rmwwmqiw9"; 12 + sha256 = "sha256-WjUM52IqMDvBzeGHo7p4JcvMO5iPWPVOr8GJ3RSsnUs="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config ];
+2 -2
pkgs/tools/filesystems/s3fs/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "s3fs-fuse"; 5 - version = "1.89"; 5 + version = "1.90"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "s3fs-fuse"; 9 9 repo = "s3fs-fuse"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Agb0tq7B98Ioe0G/XEZCYcFQKnMuYXX9x0yg4Gvu3/k="; 11 + sha256 = "sha256-tcoINdkPfIdO0VMQ5tdpKcslpvvgVhaJiDFnS/ix0sc="; 12 12 }; 13 13 14 14 buildInputs = [ curl openssl libxml2 fuse ];
+2 -2
pkgs/tools/graphics/agi/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "agi"; 17 - version = "2.1.0-dev-20210804"; 17 + version = "2.1.0-dev-20210809"; 18 18 19 19 src = fetchzip { 20 20 url = "https://github.com/google/agi-dev-releases/releases/download/v${version}/agi-${version}-linux.zip"; 21 - sha256 = "sha256-ptxESGdgGus4ZfCvpOYCcURdPSLZEFq3iYy/MmetJCU="; 21 + sha256 = "sha256-n1a35syStFbhpVGyi/7oxWzBb2lXyVZd3K8/Bt8b0Lg="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+25
pkgs/tools/misc/ethminer/add-global-context.patch
··· 1 + diff --git a/libethcore/CMakeLists.txt b/libethcore/CMakeLists.txt 2 + index 1a53de8..832e926 100644 3 + --- a/libethcore/CMakeLists.txt 4 + +++ b/libethcore/CMakeLists.txt 5 + @@ -7,7 +7,7 @@ set(SOURCES 6 + include_directories(BEFORE ..) 7 + 8 + add_library(ethcore ${SOURCES}) 9 + -target_link_libraries(ethcore PUBLIC devcore ethash::ethash PRIVATE hwmon) 10 + +target_link_libraries(ethcore PUBLIC devcore ethash::ethash ethash-global-context PRIVATE hwmon) 11 + 12 + if(ETHASHCL) 13 + target_link_libraries(ethcore PRIVATE ethash-cl) 14 + diff --git a/libethcore/EthashAux.h b/libethcore/EthashAux.h 15 + index d9aadc7..fe5c6cf 100644 16 + --- a/libethcore/EthashAux.h 17 + +++ b/libethcore/EthashAux.h 18 + @@ -22,6 +22,7 @@ 19 + #include <libdevcore/Worker.h> 20 + 21 + #include <ethash/ethash.hpp> 22 + +#include <ethash/global_context.hpp> 23 + 24 + namespace dev 25 + {
+5
pkgs/tools/misc/ethminer/default.nix
··· 64 64 cudatoolkit 65 65 ]; 66 66 67 + patches = [ 68 + # global context library is separated from libethash 69 + ./add-global-context.patch 70 + ]; 71 + 67 72 preConfigure = '' 68 73 sed -i 's/_lib_static//' libpoolprotocols/CMakeLists.txt 69 74 '';
+2 -2
pkgs/tools/misc/geekbench/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "geekbench"; 5 - version = "5.4.0"; 5 + version = "5.4.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://cdn.geekbench.com/Geekbench-${version}-Linux.tar.gz"; 9 - sha256 = "sha256-/FhOZ6WCaQQOzsLH3iZTnwzmwUcdsskgASJFZupSIY0="; 9 + sha256 = "sha256-0Pg9bHQwWElW4B3oRco5F2FsaEeLC0ZXx7J+hl7dc3Y="; 10 10 }; 11 11 12 12 dontConfigure = true;
+3 -3
pkgs/tools/misc/infracost/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "infracost"; 5 - version = "0.9.4"; 5 + version = "0.9.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "infracost"; 9 9 rev = "v${version}"; 10 10 repo = "infracost"; 11 - sha256 = "sha256-OQwMO9bhPK+Wjob8rAFYJQRpAYf1bPdRi2BjETjpSpE="; 11 + sha256 = "sha256-B9byIortXH9v1aZNVU55uXA+5w7rdLijoE+JNq3OZlE="; 12 12 }; 13 - vendorSha256 = "sha256-zMEtVPyzwW4SrbpydDFDqgHEC0/khkrSxlEnQ5I0he8="; 13 + vendorSha256 = "sha256-TfaT5xPzdyTR0sH+EsZKCNXONkfjDRvT/jevAVQt+Zg="; 14 14 15 15 ldflags = [ "-s" "-w" "-X github.com/infracost/infracost/internal/version.Version=v${version}" ]; 16 16
+3 -3
pkgs/tools/misc/mcfly/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "mcfly"; 5 - version = "0.5.6"; 5 + version = "0.5.8"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cantino"; 9 9 repo = "mcfly"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-x2cED+WEc50RB8BxiDEm/XnauT1RqqGjSIdL5MMaFBY="; 11 + sha256 = "sha256-D8ScF/3qyT0VuMGmWkkeGRyCu4LdOXt1wvR9whbNURE="; 12 12 }; 13 13 14 14 postInstall = '' ··· 20 20 install -Dm644 -t $out/share/mcfly mcfly.fish 21 21 ''; 22 22 23 - cargoSha256 = "sha256-7RKewz5jBS2HhHvXHBUWaQQ/wq9nryS9E+DqzBOVjPs="; 23 + cargoSha256 = "sha256-VZgxfVmAa5lPfdLNbsotNoRpTLe3HID36sF8T/0mywI="; 24 24 25 25 meta = with lib; { 26 26 homepage = "https://github.com/cantino/mcfly";
+4 -3
pkgs/tools/networking/cksfv/default.nix
··· 1 - {lib, stdenv, fetchurl}: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cksfv"; 5 5 version = "1.3.15"; 6 6 7 7 src = fetchurl { 8 - url = "http://zakalwe.fi/~shd/foss/cksfv/files/cksfv-${version}.tar.bz2"; 8 + url = "https://zakalwe.fi/~shd/foss/cksfv/files/cksfv-${version}.tar.bz2"; 9 9 sha256 = "0k06aq94cn5xp4knjw0p7gz06hzh622ql2xvnrlr3q8rcmdvwwx1"; 10 10 }; 11 11 12 12 meta = with lib; { 13 - homepage = "http://zakalwe.fi/~shd/foss/cksfv/"; 13 + homepage = "https://zakalwe.fi/~shd/foss/cksfv/"; 14 14 description = "A tool for verifying files against a SFV checksum file"; 15 + maintainers = with maintainers; [ ]; 15 16 platforms = platforms.all; 16 17 license = licenses.gpl2; 17 18 };
+2 -2
pkgs/tools/networking/filegive/default.nix
··· 5 5 version = "0.7.4"; 6 6 7 7 src = fetchurl { 8 - url = "http://viric.name/soft/filegive/filegive-${version}.tar.gz"; 8 + url = "https://viric.name/soft/filegive/filegive-${version}.tar.gz"; 9 9 sha256 = "1z3vyqfdp271qa5ah0i6jmn9gh3gb296wcm33sd2zfjqapyh12hy"; 10 10 }; 11 11 ··· 14 14 goPackagePath = "viric.name/soft/filegive"; 15 15 16 16 meta = with lib; { 17 - homepage = "http://viric.name/cgi-bin/filegive"; 17 + homepage = "https://viric.name/cgi-bin/filegive"; 18 18 description = "Easy p2p file sending program"; 19 19 license = licenses.agpl3Plus; 20 20 maintainers = [ maintainers.viric ];
+3 -3
pkgs/tools/networking/telepresence2/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "telepresence2"; 5 - version = "2.3.6"; 5 + version = "2.4.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "telepresenceio"; 9 9 repo = "telepresence"; 10 10 rev = "v${version}"; 11 - sha256 = "1bs4h450109vhy18kpyy6y4p5l9kvz4w09m56fxh5z547m5ax6k3"; 11 + sha256 = "1v2jkhdlyq37akqyhb8mwsh7rjdv2fjw8kyzys3dv04k3dy5sl0f"; 12 12 }; 13 13 14 - vendorSha256 = "0xmw9mc0iy64kb12lsii4nn63ynh6gab9ls8z6mrizjjqz845sa5"; 14 + vendorSha256 = "1snmp461h8driy1w1xggk669yxl0sjl1m9pbqm7dwk44yb94zi1q"; 15 15 16 16 buildFlagsArray = '' 17 17 -ldflags=-s -w -X=github.com/telepresenceio/telepresence/v2/pkg/version.Version=${src.rev}
+3 -3
pkgs/tools/package-management/cargo-release/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-release"; 5 - version = "0.16.2"; 5 + version = "0.16.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "sunng87"; 9 9 repo = "cargo-release"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-o3AKA/uP6VWMO4c62H3ey0P98KIhbzhnng5ggKjNeZ8="; 11 + sha256 = "sha256-VAXuxHCayjmuI26rhJroEBbnyJ4z+w7HY5TNTanYvpw="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-SHLiUVH5LiQNd/Ipj/xrjSG0X2HXfcAwswqsbqweJBs="; 14 + cargoSha256 = "sha256-cXuAPQ8xRkeixWNYGjStNipbn4xIc1NsfVqROd6RHdg="; 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 buildInputs = [ openssl ]
+3 -3
pkgs/tools/package-management/nix-simple-deploy/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "nix-simple-deploy"; 5 - version = "0.2.1"; 5 + version = "0.2.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "misuzu"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "0vkgs3ffb5vdzhrqdnd54vbi36vrgd3408zvjn0rmqlnwi3wwhnk"; 11 + sha256 = "1qq4fbsd2mvxblsggwbnh88mj18f3vrfzv1kgc7a92pfiwxznq8r"; 12 12 }; 13 13 14 - cargoSha256 = "0z4d4cazl6qvigyqzdayxqfjc1ki1rhrpm76agc8lkrxrvhyay2h"; 14 + cargoSha256 = "1r6dl7qipbyyvjcd3l9ynawjln1g1qzvw5za6nyjcf41dzv48m8x"; 15 15 16 16 nativeBuildInputs = [ makeWrapper ]; 17 17
+3 -3
pkgs/tools/package-management/nix/default.nix
··· 234 234 nixUnstable = lib.lowPrio (callPackage common rec { 235 235 pname = "nix"; 236 236 version = "2.4${suffix}"; 237 - suffix = "pre20210707_02dd6bb"; 237 + suffix = "pre20210802_47e96bb"; 238 238 239 239 src = fetchFromGitHub { 240 240 owner = "NixOS"; 241 241 repo = "nix"; 242 - rev = "02dd6bb610e55a009cd7a4c83639698d3a7acaa2"; 243 - sha256 = "sha256-ARRiLrDOK+JQtvVXsYegspENYimQzilvdTfO7eiBuaA="; 242 + rev = "47e96bb533f8cacc171bec9b688b134de31a48a9"; 243 + sha256 = "sha256-vwj1fAGn3Pl9Vr/qSL+oDxuwbRzEdI3dsEg6o3xTmWg="; 244 244 }; 245 245 246 246 boehmgc = boehmgc_nixUnstable;
+660
pkgs/tools/security/dnspeep/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + [[package]] 4 + name = "aho-corasick" 5 + version = "0.7.15" 6 + source = "registry+https://github.com/rust-lang/crates.io-index" 7 + checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5" 8 + dependencies = [ 9 + "memchr", 10 + ] 11 + 12 + [[package]] 13 + name = "autocfg" 14 + version = "1.0.1" 15 + source = "registry+https://github.com/rust-lang/crates.io-index" 16 + checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" 17 + 18 + [[package]] 19 + name = "bitflags" 20 + version = "1.2.1" 21 + source = "registry+https://github.com/rust-lang/crates.io-index" 22 + checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 23 + 24 + [[package]] 25 + name = "byteorder" 26 + version = "1.4.3" 27 + source = "registry+https://github.com/rust-lang/crates.io-index" 28 + checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 29 + 30 + [[package]] 31 + name = "bytes" 32 + version = "0.5.6" 33 + source = "registry+https://github.com/rust-lang/crates.io-index" 34 + checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" 35 + 36 + [[package]] 37 + name = "bytes" 38 + version = "1.0.1" 39 + source = "registry+https://github.com/rust-lang/crates.io-index" 40 + checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040" 41 + 42 + [[package]] 43 + name = "cfg-if" 44 + version = "0.1.10" 45 + source = "registry+https://github.com/rust-lang/crates.io-index" 46 + checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" 47 + 48 + [[package]] 49 + name = "cfg-if" 50 + version = "1.0.0" 51 + source = "registry+https://github.com/rust-lang/crates.io-index" 52 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 53 + 54 + [[package]] 55 + name = "chrono" 56 + version = "0.4.19" 57 + source = "registry+https://github.com/rust-lang/crates.io-index" 58 + checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" 59 + dependencies = [ 60 + "libc", 61 + "num-integer", 62 + "num-traits", 63 + "time", 64 + "winapi 0.3.9", 65 + ] 66 + 67 + [[package]] 68 + name = "dns-message-parser" 69 + version = "0.5.0" 70 + source = "registry+https://github.com/rust-lang/crates.io-index" 71 + checksum = "8e859c9ca137be3407a445a34eda3395aeef5aae12cd47d46a7fffba54460072" 72 + dependencies = [ 73 + "bytes 1.0.1", 74 + "hex", 75 + "thiserror", 76 + ] 77 + 78 + [[package]] 79 + name = "dnspeep" 80 + version = "0.1.2" 81 + dependencies = [ 82 + "bytes 1.0.1", 83 + "chrono", 84 + "dns-message-parser", 85 + "etherparse", 86 + "eyre", 87 + "futures", 88 + "getopts", 89 + "hex", 90 + "libc", 91 + "pcap", 92 + "tokio", 93 + ] 94 + 95 + [[package]] 96 + name = "etherparse" 97 + version = "0.9.0" 98 + source = "registry+https://github.com/rust-lang/crates.io-index" 99 + checksum = "2fa20922281f9ee5ffcda45e80d56085829279f1270f79fbabc39809a4354807" 100 + dependencies = [ 101 + "byteorder", 102 + ] 103 + 104 + [[package]] 105 + name = "eyre" 106 + version = "0.6.5" 107 + source = "registry+https://github.com/rust-lang/crates.io-index" 108 + checksum = "221239d1d5ea86bf5d6f91c9d6bc3646ffe471b08ff9b0f91c44f115ac969d2b" 109 + dependencies = [ 110 + "indenter", 111 + "once_cell", 112 + ] 113 + 114 + [[package]] 115 + name = "fnv" 116 + version = "1.0.7" 117 + source = "registry+https://github.com/rust-lang/crates.io-index" 118 + checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 119 + 120 + [[package]] 121 + name = "fuchsia-zircon" 122 + version = "0.3.3" 123 + source = "registry+https://github.com/rust-lang/crates.io-index" 124 + checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" 125 + dependencies = [ 126 + "bitflags", 127 + "fuchsia-zircon-sys", 128 + ] 129 + 130 + [[package]] 131 + name = "fuchsia-zircon-sys" 132 + version = "0.3.3" 133 + source = "registry+https://github.com/rust-lang/crates.io-index" 134 + checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" 135 + 136 + [[package]] 137 + name = "futures" 138 + version = "0.3.13" 139 + source = "registry+https://github.com/rust-lang/crates.io-index" 140 + checksum = "7f55667319111d593ba876406af7c409c0ebb44dc4be6132a783ccf163ea14c1" 141 + dependencies = [ 142 + "futures-channel", 143 + "futures-core", 144 + "futures-executor", 145 + "futures-io", 146 + "futures-sink", 147 + "futures-task", 148 + "futures-util", 149 + ] 150 + 151 + [[package]] 152 + name = "futures-channel" 153 + version = "0.3.13" 154 + source = "registry+https://github.com/rust-lang/crates.io-index" 155 + checksum = "8c2dd2df839b57db9ab69c2c9d8f3e8c81984781937fe2807dc6dcf3b2ad2939" 156 + dependencies = [ 157 + "futures-core", 158 + "futures-sink", 159 + ] 160 + 161 + [[package]] 162 + name = "futures-core" 163 + version = "0.3.13" 164 + source = "registry+https://github.com/rust-lang/crates.io-index" 165 + checksum = "15496a72fabf0e62bdc3df11a59a3787429221dd0710ba8ef163d6f7a9112c94" 166 + 167 + [[package]] 168 + name = "futures-executor" 169 + version = "0.3.13" 170 + source = "registry+https://github.com/rust-lang/crates.io-index" 171 + checksum = "891a4b7b96d84d5940084b2a37632dd65deeae662c114ceaa2c879629c9c0ad1" 172 + dependencies = [ 173 + "futures-core", 174 + "futures-task", 175 + "futures-util", 176 + ] 177 + 178 + [[package]] 179 + name = "futures-io" 180 + version = "0.3.13" 181 + source = "registry+https://github.com/rust-lang/crates.io-index" 182 + checksum = "d71c2c65c57704c32f5241c1223167c2c3294fd34ac020c807ddbe6db287ba59" 183 + 184 + [[package]] 185 + name = "futures-macro" 186 + version = "0.3.13" 187 + source = "registry+https://github.com/rust-lang/crates.io-index" 188 + checksum = "ea405816a5139fb39af82c2beb921d52143f556038378d6db21183a5c37fbfb7" 189 + dependencies = [ 190 + "proc-macro-hack", 191 + "proc-macro2", 192 + "quote", 193 + "syn", 194 + ] 195 + 196 + [[package]] 197 + name = "futures-sink" 198 + version = "0.3.13" 199 + source = "registry+https://github.com/rust-lang/crates.io-index" 200 + checksum = "85754d98985841b7d4f5e8e6fbfa4a4ac847916893ec511a2917ccd8525b8bb3" 201 + 202 + [[package]] 203 + name = "futures-task" 204 + version = "0.3.13" 205 + source = "registry+https://github.com/rust-lang/crates.io-index" 206 + checksum = "fa189ef211c15ee602667a6fcfe1c1fd9e07d42250d2156382820fba33c9df80" 207 + 208 + [[package]] 209 + name = "futures-util" 210 + version = "0.3.13" 211 + source = "registry+https://github.com/rust-lang/crates.io-index" 212 + checksum = "1812c7ab8aedf8d6f2701a43e1243acdbcc2b36ab26e2ad421eb99ac963d96d1" 213 + dependencies = [ 214 + "futures-channel", 215 + "futures-core", 216 + "futures-io", 217 + "futures-macro", 218 + "futures-sink", 219 + "futures-task", 220 + "memchr", 221 + "pin-project-lite 0.2.6", 222 + "pin-utils", 223 + "proc-macro-hack", 224 + "proc-macro-nested", 225 + "slab", 226 + ] 227 + 228 + [[package]] 229 + name = "getopts" 230 + version = "0.2.21" 231 + source = "registry+https://github.com/rust-lang/crates.io-index" 232 + checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5" 233 + dependencies = [ 234 + "unicode-width", 235 + ] 236 + 237 + [[package]] 238 + name = "hermit-abi" 239 + version = "0.1.18" 240 + source = "registry+https://github.com/rust-lang/crates.io-index" 241 + checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c" 242 + dependencies = [ 243 + "libc", 244 + ] 245 + 246 + [[package]] 247 + name = "hex" 248 + version = "0.4.3" 249 + source = "registry+https://github.com/rust-lang/crates.io-index" 250 + checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 251 + 252 + [[package]] 253 + name = "indenter" 254 + version = "0.3.3" 255 + source = "registry+https://github.com/rust-lang/crates.io-index" 256 + checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" 257 + 258 + [[package]] 259 + name = "iovec" 260 + version = "0.1.4" 261 + source = "registry+https://github.com/rust-lang/crates.io-index" 262 + checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" 263 + dependencies = [ 264 + "libc", 265 + ] 266 + 267 + [[package]] 268 + name = "kernel32-sys" 269 + version = "0.2.2" 270 + source = "registry+https://github.com/rust-lang/crates.io-index" 271 + checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" 272 + dependencies = [ 273 + "winapi 0.2.8", 274 + "winapi-build", 275 + ] 276 + 277 + [[package]] 278 + name = "lazy_static" 279 + version = "1.4.0" 280 + source = "registry+https://github.com/rust-lang/crates.io-index" 281 + checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 282 + 283 + [[package]] 284 + name = "libc" 285 + version = "0.2.91" 286 + source = "registry+https://github.com/rust-lang/crates.io-index" 287 + checksum = "8916b1f6ca17130ec6568feccee27c156ad12037880833a3b842a823236502e7" 288 + 289 + [[package]] 290 + name = "libloading" 291 + version = "0.6.7" 292 + source = "registry+https://github.com/rust-lang/crates.io-index" 293 + checksum = "351a32417a12d5f7e82c368a66781e307834dae04c6ce0cd4456d52989229883" 294 + dependencies = [ 295 + "cfg-if 1.0.0", 296 + "winapi 0.3.9", 297 + ] 298 + 299 + [[package]] 300 + name = "log" 301 + version = "0.4.14" 302 + source = "registry+https://github.com/rust-lang/crates.io-index" 303 + checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" 304 + dependencies = [ 305 + "cfg-if 1.0.0", 306 + ] 307 + 308 + [[package]] 309 + name = "memchr" 310 + version = "2.3.4" 311 + source = "registry+https://github.com/rust-lang/crates.io-index" 312 + checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" 313 + 314 + [[package]] 315 + name = "mio" 316 + version = "0.6.23" 317 + source = "registry+https://github.com/rust-lang/crates.io-index" 318 + checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" 319 + dependencies = [ 320 + "cfg-if 0.1.10", 321 + "fuchsia-zircon", 322 + "fuchsia-zircon-sys", 323 + "iovec", 324 + "kernel32-sys", 325 + "libc", 326 + "log", 327 + "miow 0.2.2", 328 + "net2", 329 + "slab", 330 + "winapi 0.2.8", 331 + ] 332 + 333 + [[package]] 334 + name = "mio-named-pipes" 335 + version = "0.1.7" 336 + source = "registry+https://github.com/rust-lang/crates.io-index" 337 + checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" 338 + dependencies = [ 339 + "log", 340 + "mio", 341 + "miow 0.3.7", 342 + "winapi 0.3.9", 343 + ] 344 + 345 + [[package]] 346 + name = "mio-uds" 347 + version = "0.6.8" 348 + source = "registry+https://github.com/rust-lang/crates.io-index" 349 + checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" 350 + dependencies = [ 351 + "iovec", 352 + "libc", 353 + "mio", 354 + ] 355 + 356 + [[package]] 357 + name = "miow" 358 + version = "0.2.2" 359 + source = "registry+https://github.com/rust-lang/crates.io-index" 360 + checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" 361 + dependencies = [ 362 + "kernel32-sys", 363 + "net2", 364 + "winapi 0.2.8", 365 + "ws2_32-sys", 366 + ] 367 + 368 + [[package]] 369 + name = "miow" 370 + version = "0.3.7" 371 + source = "registry+https://github.com/rust-lang/crates.io-index" 372 + checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" 373 + dependencies = [ 374 + "winapi 0.3.9", 375 + ] 376 + 377 + [[package]] 378 + name = "net2" 379 + version = "0.2.37" 380 + source = "registry+https://github.com/rust-lang/crates.io-index" 381 + checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" 382 + dependencies = [ 383 + "cfg-if 0.1.10", 384 + "libc", 385 + "winapi 0.3.9", 386 + ] 387 + 388 + [[package]] 389 + name = "num-integer" 390 + version = "0.1.44" 391 + source = "registry+https://github.com/rust-lang/crates.io-index" 392 + checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" 393 + dependencies = [ 394 + "autocfg", 395 + "num-traits", 396 + ] 397 + 398 + [[package]] 399 + name = "num-traits" 400 + version = "0.2.14" 401 + source = "registry+https://github.com/rust-lang/crates.io-index" 402 + checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" 403 + dependencies = [ 404 + "autocfg", 405 + ] 406 + 407 + [[package]] 408 + name = "num_cpus" 409 + version = "1.13.0" 410 + source = "registry+https://github.com/rust-lang/crates.io-index" 411 + checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" 412 + dependencies = [ 413 + "hermit-abi", 414 + "libc", 415 + ] 416 + 417 + [[package]] 418 + name = "once_cell" 419 + version = "1.7.2" 420 + source = "registry+https://github.com/rust-lang/crates.io-index" 421 + checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3" 422 + 423 + [[package]] 424 + name = "pcap" 425 + version = "0.8.1" 426 + source = "git+https://github.com/jvns/pcap#ae2aa7f501ae5bb7069155cf7c5c700b7482681d" 427 + dependencies = [ 428 + "futures", 429 + "libc", 430 + "libloading", 431 + "mio", 432 + "regex", 433 + "tokio", 434 + "widestring", 435 + ] 436 + 437 + [[package]] 438 + name = "pin-project-lite" 439 + version = "0.1.12" 440 + source = "registry+https://github.com/rust-lang/crates.io-index" 441 + checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" 442 + 443 + [[package]] 444 + name = "pin-project-lite" 445 + version = "0.2.6" 446 + source = "registry+https://github.com/rust-lang/crates.io-index" 447 + checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905" 448 + 449 + [[package]] 450 + name = "pin-utils" 451 + version = "0.1.0" 452 + source = "registry+https://github.com/rust-lang/crates.io-index" 453 + checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 454 + 455 + [[package]] 456 + name = "proc-macro-hack" 457 + version = "0.5.19" 458 + source = "registry+https://github.com/rust-lang/crates.io-index" 459 + checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" 460 + 461 + [[package]] 462 + name = "proc-macro-nested" 463 + version = "0.1.7" 464 + source = "registry+https://github.com/rust-lang/crates.io-index" 465 + checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" 466 + 467 + [[package]] 468 + name = "proc-macro2" 469 + version = "1.0.24" 470 + source = "registry+https://github.com/rust-lang/crates.io-index" 471 + checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" 472 + dependencies = [ 473 + "unicode-xid", 474 + ] 475 + 476 + [[package]] 477 + name = "quote" 478 + version = "1.0.9" 479 + source = "registry+https://github.com/rust-lang/crates.io-index" 480 + checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" 481 + dependencies = [ 482 + "proc-macro2", 483 + ] 484 + 485 + [[package]] 486 + name = "regex" 487 + version = "1.4.5" 488 + source = "registry+https://github.com/rust-lang/crates.io-index" 489 + checksum = "957056ecddbeba1b26965114e191d2e8589ce74db242b6ea25fc4062427a5c19" 490 + dependencies = [ 491 + "aho-corasick", 492 + "memchr", 493 + "regex-syntax", 494 + ] 495 + 496 + [[package]] 497 + name = "regex-syntax" 498 + version = "0.6.23" 499 + source = "registry+https://github.com/rust-lang/crates.io-index" 500 + checksum = "24d5f089152e60f62d28b835fbff2cd2e8dc0baf1ac13343bef92ab7eed84548" 501 + 502 + [[package]] 503 + name = "signal-hook-registry" 504 + version = "1.3.0" 505 + source = "registry+https://github.com/rust-lang/crates.io-index" 506 + checksum = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6" 507 + dependencies = [ 508 + "libc", 509 + ] 510 + 511 + [[package]] 512 + name = "slab" 513 + version = "0.4.2" 514 + source = "registry+https://github.com/rust-lang/crates.io-index" 515 + checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" 516 + 517 + [[package]] 518 + name = "syn" 519 + version = "1.0.65" 520 + source = "registry+https://github.com/rust-lang/crates.io-index" 521 + checksum = "f3a1d708c221c5a612956ef9f75b37e454e88d1f7b899fbd3a18d4252012d663" 522 + dependencies = [ 523 + "proc-macro2", 524 + "quote", 525 + "unicode-xid", 526 + ] 527 + 528 + [[package]] 529 + name = "thiserror" 530 + version = "1.0.24" 531 + source = "registry+https://github.com/rust-lang/crates.io-index" 532 + checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e" 533 + dependencies = [ 534 + "thiserror-impl", 535 + ] 536 + 537 + [[package]] 538 + name = "thiserror-impl" 539 + version = "1.0.24" 540 + source = "registry+https://github.com/rust-lang/crates.io-index" 541 + checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0" 542 + dependencies = [ 543 + "proc-macro2", 544 + "quote", 545 + "syn", 546 + ] 547 + 548 + [[package]] 549 + name = "time" 550 + version = "0.1.44" 551 + source = "registry+https://github.com/rust-lang/crates.io-index" 552 + checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" 553 + dependencies = [ 554 + "libc", 555 + "wasi", 556 + "winapi 0.3.9", 557 + ] 558 + 559 + [[package]] 560 + name = "tokio" 561 + version = "0.2.25" 562 + source = "registry+https://github.com/rust-lang/crates.io-index" 563 + checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092" 564 + dependencies = [ 565 + "bytes 0.5.6", 566 + "fnv", 567 + "futures-core", 568 + "iovec", 569 + "lazy_static", 570 + "libc", 571 + "memchr", 572 + "mio", 573 + "mio-named-pipes", 574 + "mio-uds", 575 + "num_cpus", 576 + "pin-project-lite 0.1.12", 577 + "signal-hook-registry", 578 + "slab", 579 + "tokio-macros", 580 + "winapi 0.3.9", 581 + ] 582 + 583 + [[package]] 584 + name = "tokio-macros" 585 + version = "0.2.6" 586 + source = "registry+https://github.com/rust-lang/crates.io-index" 587 + checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a" 588 + dependencies = [ 589 + "proc-macro2", 590 + "quote", 591 + "syn", 592 + ] 593 + 594 + [[package]] 595 + name = "unicode-width" 596 + version = "0.1.8" 597 + source = "registry+https://github.com/rust-lang/crates.io-index" 598 + checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" 599 + 600 + [[package]] 601 + name = "unicode-xid" 602 + version = "0.2.1" 603 + source = "registry+https://github.com/rust-lang/crates.io-index" 604 + checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" 605 + 606 + [[package]] 607 + name = "wasi" 608 + version = "0.10.0+wasi-snapshot-preview1" 609 + source = "registry+https://github.com/rust-lang/crates.io-index" 610 + checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" 611 + 612 + [[package]] 613 + name = "widestring" 614 + version = "0.2.2" 615 + source = "registry+https://github.com/rust-lang/crates.io-index" 616 + checksum = "7157704c2e12e3d2189c507b7482c52820a16dfa4465ba91add92f266667cadb" 617 + 618 + [[package]] 619 + name = "winapi" 620 + version = "0.2.8" 621 + source = "registry+https://github.com/rust-lang/crates.io-index" 622 + checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" 623 + 624 + [[package]] 625 + name = "winapi" 626 + version = "0.3.9" 627 + source = "registry+https://github.com/rust-lang/crates.io-index" 628 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 629 + dependencies = [ 630 + "winapi-i686-pc-windows-gnu", 631 + "winapi-x86_64-pc-windows-gnu", 632 + ] 633 + 634 + [[package]] 635 + name = "winapi-build" 636 + version = "0.1.1" 637 + source = "registry+https://github.com/rust-lang/crates.io-index" 638 + checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" 639 + 640 + [[package]] 641 + name = "winapi-i686-pc-windows-gnu" 642 + version = "0.4.0" 643 + source = "registry+https://github.com/rust-lang/crates.io-index" 644 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 645 + 646 + [[package]] 647 + name = "winapi-x86_64-pc-windows-gnu" 648 + version = "0.4.0" 649 + source = "registry+https://github.com/rust-lang/crates.io-index" 650 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 651 + 652 + [[package]] 653 + name = "ws2_32-sys" 654 + version = "0.2.1" 655 + source = "registry+https://github.com/rust-lang/crates.io-index" 656 + checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" 657 + dependencies = [ 658 + "winapi 0.2.8", 659 + "winapi-build", 660 + ]
+32
pkgs/tools/security/dnspeep/default.nix
··· 1 + { fetchFromGitHub, lib, libpcap, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "dnspeep"; 5 + version = "0.1.2"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jvns"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "0lz22vlgi1alsq676q4nlzfzwnsrvziyqdnmdbn00rwqsvlb81q6"; 12 + }; 13 + 14 + # dnspeep has git dependencies therefore doesn't work with `cargoSha256` 15 + cargoLock = { 16 + # update Cargo.lock every update 17 + lockFile = ./Cargo.lock; 18 + outputHashes = { 19 + "pcap-0.8.1" = "1nnfyhlhcpbl4i6zmfa9rvnvr6ibg5khran1f5yhmr9yfhmhgakd"; 20 + }; 21 + }; 22 + 23 + LIBPCAP_LIBDIR = lib.makeLibraryPath [ libpcap ]; 24 + LIBPCAP_VER = libpcap.version; 25 + 26 + meta = with lib; { 27 + description = "Spy on the DNS queries your computer is making"; 28 + homepage = "https://github.com/jvns/dnspeep"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ figsoda ]; 31 + }; 32 + }
+3 -3
pkgs/tools/security/dnsx/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "dnsx"; 8 - version = "1.0.5"; 8 + version = "1.0.6"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "projectdiscovery"; 12 12 repo = "dnsx"; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-w+FQp5pvySM36UHFxBH5WRZvnGi43NZeI2tLr6HAF3Q="; 14 + sha256 = "sha256-rAicKytDtdnPwWdxJvBd5UnMGTAI4NHcPUjISlT7kCw="; 15 15 }; 16 16 17 - vendorSha256 = "sha256-gsoeAau3klOFTu+ZEYEMdIuXw/5IVsfFJ2maxPaZKjA="; 17 + vendorSha256 = "sha256-8YoYfn2BFUnVwH9FcAgb1p5CV3dJVrWjEMPfivOGvQE="; 18 18 19 19 meta = with lib; { 20 20 description = "Fast and multi-purpose DNS toolkit";
+2 -2
pkgs/tools/security/doppler/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "doppler"; 5 - version = "3.31.0"; 5 + version = "3.31.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "dopplerhq"; 9 9 repo = "cli"; 10 10 rev = version; 11 - sha256 = "sha256-jmOHr32mDnjY3n9/nU/YaQ/ZuVsCKTo2likM2homToM="; 11 + sha256 = "sha256-m8dugkZ0n51RnclZwKGgjVG3OrDMz3MsOQMvNbG4BPU="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-yb7L4GSKtlwagwdxBMd5aSk9fre1NKKsy6CM4Iv2ya8=";
+2 -2
pkgs/tools/security/exploitdb/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "exploitdb"; 5 - version = "2021-08-06"; 5 + version = "2021-08-11"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "offensive-security"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-aKF/6SuSAk319QqGmyUu91//ofvPtHxX2Uv8FxhzqCM="; 11 + sha256 = "sha256-OSEG0pWnxSvUS1h9v1j9/poo15ZoouNqiG+qB/JrOHc="; 12 12 }; 13 13 14 14 installPhase = ''
+3 -3
pkgs/tools/security/httpx/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "httpx"; 8 - version = "1.1.0"; 8 + version = "1.1.1"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "projectdiscovery"; 12 12 repo = "httpx"; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-selmBW6GlfzKbVHz7EgmUB8n567NS08gwkRB9Y+Px8s="; 14 + sha256 = "sha256-uuHvU/KUHliY3FUwknp7ninKTY9qs+gI7WljgIvJEF4="; 15 15 }; 16 16 17 - vendorSha256 = "sha256-q0cTFYepq7odZSACNuUoz6kjT7sE38Pv6B113w2gpIQ="; 17 + vendorSha256 = "sha256-/xip2lwmpaSvnQoGj3de8Tgeog+HPrI8mF6catC1O4s="; 18 18 19 19 meta = with lib; { 20 20 description = "Fast and multi-purpose HTTP toolkit";
+1 -1
pkgs/tools/security/opensc/default.nix
··· 60 60 homepage = "https://github.com/OpenSC/OpenSC/wiki"; 61 61 license = licenses.lgpl21Plus; 62 62 platforms = platforms.all; 63 - maintainers = [ maintainers.erictapen ]; 63 + maintainers = [ maintainers.michaeladler ]; 64 64 }; 65 65 }
+3 -3
pkgs/tools/virtualization/distrobuilder/default.nix
··· 21 21 in 22 22 buildGoModule rec { 23 23 pname = "distrobuilder"; 24 - version = "1.2"; 24 + version = "1.3"; 25 25 26 - vendorSha256 = "sha256-G5FUO6Ul4dA4MZZI9Ho1kE9ptX31tAWak9rWAoD/iuU="; 26 + vendorSha256 = "sha256-FKnpoLA4enZ1vGSJQFLbp/OjoEgdxagL73ucxUgIoKY="; 27 27 28 28 src = fetchFromGitHub { 29 29 owner = "lxc"; 30 30 repo = "distrobuilder"; 31 31 rev = "distrobuilder-${version}"; 32 - sha256 = "CE3Tq0oWpVZnSfBBY3/2E2GdZLFsO0NzkPABT8lu+TY="; 32 + sha256 = "sha256-cvxbJbg9yTcAPWQccH+1nQivwRh8CIN3Cga2HKY8VlQ="; 33 33 fetchSubmodules = false; 34 34 }; 35 35
+2
pkgs/top-level/aliases.nix
··· 526 526 nmap-unfree = nmap; # added 2021-04-06 527 527 nologin = shadow; # added 2018-04-25 528 528 nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # added 2021-05-27 529 + now-cli = throw "now-cli has been replaced with nodePackages.vercel"; # added 2021-08-05 529 530 nxproxy = nx-libs; # added 2019-02-15 530 531 nylas-mail-bin = throw "nylas-mail-bin was deprecated on 2019-09-11: abandoned by upstream"; 531 532 oauth2_proxy = oauth2-proxy; # added 2021-04-18 ··· 876 877 truecrypt = veracrypt; # added 2018-10-24 877 878 tshark = wireshark-cli; # added 2018-04-25 878 879 tuijam = throw "tuijam has been removed because Google Play Music was discontinued"; # added 2021-03-07 880 + turbo-geth = throw "turbo-geth has been renamed to erigon"; # added 20201-08-08 879 881 uberwriter = apostrophe; # added 2020-04-23 880 882 ubootBeagleboneBlack = ubootAmx335xEVM; # added 2020-01-21 881 883 ucsFonts = ucs-fonts; # added 2016-07-15
+24 -6
pkgs/top-level/all-packages.nix
··· 161 161 162 162 addOpenGLRunpath = callPackage ../build-support/add-opengl-runpath { }; 163 163 164 + aether = callPackage ../applications/networking/aether { }; 165 + 164 166 alda = callPackage ../development/interpreters/alda { }; 165 167 166 168 althttpd = callPackage ../servers/althttpd { }; ··· 1123 1125 aptly = callPackage ../tools/misc/aptly { }; 1124 1126 1125 1127 ArchiSteamFarm = callPackage ../applications/misc/ArchiSteamFarm { }; 1128 + 1129 + archivebox = python3Packages.callPackage ../applications/misc/archivebox { }; 1126 1130 1127 1131 archivemount = callPackage ../tools/filesystems/archivemount { }; 1128 1132 ··· 3781 3785 3782 3786 cpuminer-multi = callPackage ../tools/misc/cpuminer-multi { }; 3783 3787 3784 - cryptpad = callPackage ../servers/web-apps/cryptpad { }; 3788 + cryptpad = callPackage ../servers/web-apps/cryptpad { 3789 + nodejs = nodejs-12_x; 3790 + }; 3785 3791 3786 3792 ethash = callPackage ../development/libraries/ethash { }; 3787 3793 ··· 4208 4214 4209 4215 dnsmasq = callPackage ../tools/networking/dnsmasq { }; 4210 4216 4217 + dnspeep = callPackage ../tools/security/dnspeep { }; 4218 + 4211 4219 dnsproxy = callPackage ../tools/networking/dnsproxy { }; 4212 4220 4213 4221 dnsperf = callPackage ../tools/networking/dnsperf { }; ··· 6693 6701 nodejs = pkgs.nodejs; 6694 6702 }); 6695 6703 6696 - now-cli = callPackage ../development/web/now-cli {}; 6697 - 6698 6704 np2kai = callPackage ../misc/emulators/np2kai { }; 6699 6705 6700 6706 ox = callPackage ../applications/editors/ox { }; ··· 7024 7030 }; 7025 7031 7026 7032 marktext = callPackage ../applications/misc/marktext { }; 7033 + 7034 + mars-mips = callPackage ../development/tools/mars-mips { }; 7027 7035 7028 7036 mawk = callPackage ../tools/text/mawk { }; 7029 7037 ··· 8476 8484 8477 8485 rtss = callPackage ../development/tools/misc/rtss { }; 8478 8486 8487 + realvnc-vnc-viewer = callPackage ../tools/admin/realvnc-vnc-viewer {}; 8488 + 8479 8489 reaverwps = callPackage ../tools/networking/reaver-wps {}; 8480 8490 8481 8491 reaverwps-t6x = callPackage ../tools/networking/reaver-wps-t6x {}; ··· 9547 9557 transifex-client = python3.pkgs.callPackage ../tools/text/transifex-client { }; 9548 9558 9549 9559 translate-shell = callPackage ../applications/misc/translate-shell { }; 9560 + 9561 + translatepy = with python3.pkgs; toPythonApplication translatepy; 9550 9562 9551 9563 trash-cli = callPackage ../tools/misc/trash-cli { }; 9552 9564 ··· 18045 18057 18046 18058 openrct2 = callPackage ../games/openrct2 { }; 18047 18059 18060 + optparse-bash = callPackage ../development/libraries/optparse-bash { }; 18061 + 18048 18062 orcania = callPackage ../development/libraries/orcania { }; 18049 18063 18050 18064 osm-gps-map = callPackage ../development/libraries/osm-gps-map { }; ··· 23604 23618 inherit (darwin.apple_sdk.frameworks) Carbon; 23605 23619 }; 23606 23620 23621 + cyanrip = callPackage ../applications/audio/cyanrip { }; 23622 + 23607 23623 centerim = callPackage ../applications/networking/instant-messengers/centerim { }; 23608 23624 23609 23625 cgit = callPackage ../applications/version-management/git-and-tools/cgit { ··· 28866 28882 28867 28883 ergo = callPackage ../applications/blockchains/ergo { }; 28868 28884 28885 + erigon = callPackage ../applications/blockchains/erigon.nix { }; 28886 + 28869 28887 exodus = callPackage ../applications/blockchains/exodus { }; 28870 28888 28871 28889 faraday = callPackage ../applications/blockchains/faraday { }; ··· 28936 28954 sumokoin = callPackage ../applications/blockchains/sumokoin { boost = boost165; }; 28937 28955 28938 28956 tessera = callPackage ../applications/blockchains/tessera { }; 28939 - 28940 - turbo-geth = callPackage ../applications/blockchains/turbo-geth { }; 28941 28957 28942 28958 vertcoin = libsForQt514.callPackage ../applications/blockchains/vertcoin { 28943 28959 boost = boost165; ··· 29071 29087 braincurses = callPackage ../games/braincurses { }; 29072 29088 29073 29089 brogue = callPackage ../games/brogue { }; 29090 + 29091 + brutalmaze = callPackage ../games/brutalmaze { }; 29074 29092 29075 29093 bsdgames = callPackage ../games/bsdgames { }; 29076 29094 ··· 31343 31361 31344 31362 faustStk = callPackage ../applications/audio/faustStk { }; 31345 31363 31346 - fceux = callPackage ../misc/emulators/fceux { }; 31364 + fceux = libsForQt5.callPackage ../misc/emulators/fceux { }; 31347 31365 31348 31366 flockit = callPackage ../tools/backup/flockit { }; 31349 31367
+74
pkgs/top-level/perl-packages.nix
··· 2150 2150 }; 2151 2151 }; 2152 2152 2153 + CatalystPluginPrometheusTiny = buildPerlPackage { 2154 + pname = "Catalyst-Plugin-PrometheusTiny"; 2155 + version = "0.006"; 2156 + src = fetchurl { 2157 + url = "mirror://cpan/authors/id/S/SY/SYSPETE/Catalyst-Plugin-PrometheusTiny-0.006.tar.gz"; 2158 + sha256 = "1hd2nv21c2mq3yvhsys4a276bdwr5igs4b73m99v7ymzpabvjf9b"; 2159 + }; 2160 + buildInputs = [ HTTPMessage Plack SubOverride TestDeep ]; 2161 + propagatedBuildInputs = [ CatalystRuntime Moose PrometheusTiny PrometheusTinyShared ]; 2162 + meta = { 2163 + description = "Prometheus metrics for Catalyst"; 2164 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 2165 + }; 2166 + }; 2167 + 2153 2168 CatalystPluginSession = buildPerlPackage { 2154 2169 pname = "Catalyst-Plugin-Session"; 2155 2170 version = "0.41"; ··· 4928 4943 propagatedBuildInputs = [ ClonePP FileHomeDir PackageStash SortNaturally ]; 4929 4944 meta = { 4930 4945 description = "colored pretty-print of Perl data structures and objects"; 4946 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 4947 + }; 4948 + }; 4949 + 4950 + DataRandom = buildPerlPackage { 4951 + pname = "Data-Random"; 4952 + version = "0.13"; 4953 + src = fetchurl { 4954 + url = "mirror://cpan/authors/id/B/BA/BAREFOOT/Data-Random-0.13.tar.gz"; 4955 + sha256 = "eb590184a8db28a7e49eab09e25f8650c33f1f668b6a472829de74a53256bfc0"; 4956 + }; 4957 + buildInputs = [ FileShareDirInstall TestMockTime ]; 4958 + meta = { 4959 + description = "Perl module to generate random data"; 4931 4960 license = with lib.licenses; [ artistic1 gpl1Plus ]; 4932 4961 }; 4933 4962 }; ··· 9412 9441 }; 9413 9442 meta = { 9414 9443 description = "Store multiple values per key"; 9444 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 9445 + }; 9446 + }; 9447 + 9448 + HashSharedMem = buildPerlModule { 9449 + pname = "Hash-SharedMem"; 9450 + version = "0.005"; 9451 + src = fetchurl { 9452 + url = "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Hash-SharedMem-0.005.tar.gz"; 9453 + sha256 = "324776808602f7bdc44adaa937895365454029a926fa611f321c9bf6b940bb5e"; 9454 + }; 9455 + buildInputs = [ ScalarString ]; 9456 + meta = { 9457 + description = "Efficient shared mutable hash"; 9415 9458 license = with lib.licenses; [ artistic1 gpl1Plus ]; 9416 9459 }; 9417 9460 }; ··· 17431 17474 sha256 = "1g3l8jzx06x4l4p0x7fyn4wvg6plfzl420irwwb9v447wzsn6xfh"; 17432 17475 }; 17433 17476 propagatedBuildInputs = [ IPCSignal ]; 17477 + }; 17478 + 17479 + PrometheusTiny = buildPerlPackage { 17480 + pname = "Prometheus-Tiny"; 17481 + version = "0.008"; 17482 + src = fetchurl { 17483 + url = "mirror://cpan/authors/id/R/RO/ROBN/Prometheus-Tiny-0.008.tar.gz"; 17484 + sha256 = "17d7b69chkcq8fprww6m15glndyb0lms2l0xjbnbw04q7f8ncskk"; 17485 + }; 17486 + buildInputs = [ HTTPMessage Plack TestException ]; 17487 + meta = { 17488 + homepage = "https://github.com/robn/Prometheus-Tiny"; 17489 + description = "A tiny Prometheus client"; 17490 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 17491 + }; 17492 + }; 17493 + 17494 + PrometheusTinyShared = buildPerlPackage { 17495 + pname = "Prometheus-Tiny-Shared"; 17496 + version = "0.024"; 17497 + src = fetchurl { 17498 + url = "mirror://cpan/authors/id/R/RO/ROBN/Prometheus-Tiny-Shared-0.024.tar.gz"; 17499 + sha256 = "02w24r4amk8dqlavg6abxap48hzxrbda48f1pmrqypgx1cz59g4g"; 17500 + }; 17501 + buildInputs = [ DataRandom HTTPMessage Plack TestDifferences TestException ]; 17502 + propagatedBuildInputs = [ HashSharedMem JSONXS PrometheusTiny ]; 17503 + meta = { 17504 + homepage = "https://github.com/robn/Prometheus-Tiny-Shared"; 17505 + description = "A tiny Prometheus client with a shared database behind it"; 17506 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 17507 + }; 17434 17508 }; 17435 17509 17436 17510 ProtocolRedis = buildPerlPackage {
+7 -1
pkgs/top-level/python-packages.nix
··· 6323 6323 6324 6324 pymumble = callPackage ../development/python-modules/pymumble { }; 6325 6325 6326 - pymunk = callPackage ../development/python-modules/pymunk { }; 6326 + pymunk = callPackage ../development/python-modules/pymunk { 6327 + inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices; 6328 + }; 6327 6329 6328 6330 pymupdf = callPackage ../development/python-modules/pymupdf { }; 6329 6331 ··· 7335 7337 pyusb = callPackage ../development/python-modules/pyusb { 7336 7338 inherit (pkgs) libusb1; 7337 7339 }; 7340 + 7341 + pyuseragents = callPackage ../development/python-modules/pyuseragents { }; 7338 7342 7339 7343 pyutilib = callPackage ../development/python-modules/pyutilib { }; 7340 7344 ··· 8845 8849 transip = callPackage ../development/python-modules/transip { }; 8846 8850 8847 8851 transitions = callPackage ../development/python-modules/transitions { }; 8852 + 8853 + translatepy = callPackage ../development/python-modules/translatepy { }; 8848 8854 8849 8855 translationstring = callPackage ../development/python-modules/translationstring { }; 8850 8856