Merge master into haskell-updates

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

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