lol

mobilizon: 3.2.0 -> 4.0.0

authored by

Kerstin Humm and committed by
Yt
db3bd72e 60274ea0

+125 -285
+16
pkgs/servers/mobilizon/cacerts_get.patch
··· 1 + diff --git a/config/config.exs b/config/config.exs 2 + index d75b2e10a..d46ebffd2 100644 3 + --- a/config/config.exs 4 + +++ b/config/config.exs 5 + @@ -128,7 +128,9 @@ config :mobilizon, Mobilizon.Web.Email.Mailer, 6 + tls_options: [ 7 + verify: :verify_peer, 8 + versions: [:"tlsv1.2", :"tlsv1.3"], 9 + - cacerts: :public_key.cacerts_get(), 10 + + cacerts: if System.get_env("SSL_CERT_FILE") != nil and :public_key.cacerts_load(System.get_env("SSL_CERT_FILE")) == :ok do 11 + + :public_key.cacerts_get() 12 + + end, 13 + server_name_indication: ~c"localhost", 14 + depth: 99 15 + ], 16 +
+4 -11
pkgs/servers/mobilizon/common.nix
··· 1 - { fetchFromGitLab, applyPatches, fetchpatch }: rec { 1 + { fetchFromGitLab, applyPatches }: rec { 2 2 3 3 pname = "mobilizon"; 4 - version = "3.2.0"; 4 + version = "4.0.0"; 5 5 6 6 src = applyPatches { 7 7 src = fetchFromGitLab { ··· 9 9 owner = "framasoft"; 10 10 repo = pname; 11 11 rev = version; 12 - sha256 = "sha256-zgHR0taMMMwAoJEJr5s1rmSwJh31+qAfPQW9DSDuC8A="; 12 + sha256 = "sha256-PslcIS+HjGTx8UYhb7BG2OgLXfIWHDouuiogA/rq/7M="; 13 13 }; 14 14 patches = [ 15 15 # See https://framagit.org/framasoft/mobilizon/-/merge_requests/1452 16 - (fetchpatch { 17 - url = "https://framagit.org/framasoft/mobilizon/-/commit/856d236b141c96705e1211e780e3f0e8950bb48e.patch"; 18 - sha256 = "sha256-uEPvoTPVWHdg/KPWMG/Ck2qUjC+EUO3hyZnzpFxuoL0="; 19 - }) 20 - (fetchpatch { 21 - url = "https://framagit.org/framasoft/mobilizon/-/commit/3936eb4cc5125b838b73adc7e49ca6ce3b2f73ce.patch"; 22 - sha256 = "sha256-Srq691J1DbG3d26AKYZxkiMg0DfM33o3AllZpCjG2PQ="; 23 - }) 16 + ./cacerts_get.patch 24 17 ]; 25 18 }; 26 19 }
+19 -29
pkgs/servers/mobilizon/default.nix
··· 18 18 mixRelease rec { 19 19 inherit (common) pname version src; 20 20 21 - # See https://github.com/whitfin/cachex/issues/205 22 - # This circumvents a startup error for now 23 - stripDebug = false; 24 - 25 21 nativeBuildInputs = [ git cmake ]; 26 22 27 23 mixNixDeps = import ./mix.nix { ··· 35 31 fast_html = prev.fast_html.override { 36 32 nativeBuildInputs = [ cmake ]; 37 33 }; 38 - ex_cldr = prev.ex_cldr.overrideAttrs (old: rec { 39 - version = "2.37.2"; 34 + ex_cldr = prev.ex_cldr.overrideAttrs (old: { 40 35 # We have to use the GitHub sources, as it otherwise tries to download 41 36 # the locales at build time. 42 37 src = fetchFromGitHub { 43 38 owner = "elixir-cldr"; 44 39 repo = "cldr"; 45 - rev = "v${version}"; 46 - sha256 = "sha256-dDOQzLIi3zjb9xPyR7Baul96i9Mb3CFHUA+AWSexrk4="; 40 + rev = "v${old.version}"; 41 + sha256 = assert old.version == "2.37.5"; 42 + "sha256-T5Qvuo+xPwpgBsqHNZYnTCA4loToeBn1LKTMsDcCdYs="; 47 43 }; 48 44 postInstall = '' 49 45 cp $src/priv/cldr/locales/* $out/lib/erlang/lib/ex_cldr-${old.version}/priv/cldr/locales/ ··· 55 51 }); 56 52 57 53 # The remainder are Git dependencies (and their deps) that are not supported by mix2nix currently. 58 - web_push_encryption = buildMix { 54 + web_push_encryption = buildMix rec { 59 55 name = "web_push_encryption"; 60 56 version = "0.3.1"; 61 57 src = fetchFromGitHub { ··· 77 73 }; 78 74 beamDeps = with final; [ mix_test_watch ex_doc timex ]; 79 75 }; 80 - exkismet = buildMix rec { 81 - name = "exkismet"; 82 - version = "0.0.1"; 76 + rajska = buildMix rec { 77 + name = "rajska"; 78 + version = "1.3.3"; 83 79 src = fetchFromGitHub { 84 80 owner = "tcitworld"; 85 81 repo = name; 86 - rev = "8b5485fde00fafbde20f315bec387a77f7358334"; 87 - sha256 = "sha256-ttgCWoBKU7VTjZJBhZNtqVF4kN7psBr/qOeR65MbTqw="; 82 + rev = "0c036448e261e8be6a512581c592fadf48982d84"; 83 + sha256 = "sha256-4pfply1vTAIT2Xvm3kONmrCK05xKfXFvcb8EKoSCXBE="; 88 84 }; 89 - beamDeps = with final; [ httpoison ]; 85 + beamDeps = with final; [ ex_doc credo absinthe excoveralls hammer mock ]; 90 86 }; 91 - rajska = buildMix rec { 92 - name = "rajska"; 93 - version = "0.0.1"; 87 + exkismet = buildMix rec { 88 + name = "exkismet"; 89 + version = "0.0.3"; 94 90 src = fetchFromGitHub { 95 91 owner = "tcitworld"; 96 92 repo = name; 97 - rev = "0c036448e261e8be6a512581c592fadf48982d84"; 98 - sha256 = "sha256-4pfply1vTAIT2Xvm3kONmrCK05xKfXFvcb8EKoSCXBE="; 93 + rev = "8b5485fde00fafbde20f315bec387a77f7358334"; 94 + sha256 = "sha256-ttgCWoBKU7VTjZJBhZNtqVF4kN7psBr/qOeR65MbTqw="; 99 95 }; 100 - beamDeps = with final; [ httpoison absinthe ]; 96 + beamDeps = with final; [ httpoison ex_doc credo doctor dialyxir ]; 101 97 }; 102 98 103 99 }); 104 100 }; 105 - 106 - preConfigure = '' 107 - export LANG=C.UTF-8 # fix elixir locale warning 108 - ''; 109 101 110 102 # Install the compiled js part 111 103 preBuild = 112 104 '' 113 - cp -a "${mobilizon-frontend}/libexec/mobilizon/deps/priv/static" ./priv 105 + cp -a "${mobilizon-frontend}/static" ./priv 114 106 chmod 770 -R ./priv 115 107 ''; 116 108 ··· 123 115 updateScript = writeShellScriptBin "update.sh" '' 124 116 set -eou pipefail 125 117 126 - SRC=$(nix path-info .#mobilizon.src) 127 - ${mix2nix}/bin/mix2nix $SRC/mix.lock > pkgs/servers/mobilizon/mix.nix 128 - cat $SRC/js/package.json > pkgs/servers/mobilizon/package.json 118 + ${mix2nix}/bin/mix2nix '${src}/mix.lock' > pkgs/servers/mobilizon/mix.nix 129 119 ''; 130 120 elixirPackage = beamPackages.elixir; 131 121 };
+7 -26
pkgs/servers/mobilizon/frontend.nix
··· 1 - { lib, callPackage, mkYarnPackage, fetchYarnDeps, imagemagick }: 1 + { lib, callPackage, buildNpmPackage, imagemagick }: 2 2 3 3 let 4 4 common = callPackage ./common.nix { }; 5 5 in 6 - mkYarnPackage rec { 7 - src = "${common.src}/js"; 6 + buildNpmPackage { 7 + inherit (common) pname version src; 8 8 9 - offlineCache = fetchYarnDeps { 10 - yarnLock = src + "/yarn.lock"; 11 - sha256 = "sha256-VkJ6vBt9EFoQVMWMV8FhPJBHcLJDDfOxd+NLb+DZy3U="; 12 - }; 9 + npmDepsHash = "sha256-z/xWumL1wri63cGGMHMBq6WVDe81bp8tILsZa53a7FM="; 13 10 14 - packageJSON = ./package.json; 11 + nativeBuildInputs = [ imagemagick ]; 15 12 16 - # Somehow $out/deps/mobilizon/node_modules ends up only containing nothing 17 - # more than a .bin directory otherwise. 18 - yarnPostBuild = '' 19 - rm -rf $out/deps/mobilizon/node_modules 20 - ln -s $out/node_modules $out/deps/mobilizon/node_modules 13 + postInstall = '' 14 + cp -r priv/static $out/static 21 15 ''; 22 - 23 - buildPhase = '' 24 - runHook preBuild 25 - 26 - yarn run build 27 - 28 - runHook postBuild 29 - ''; 30 - 31 - doCheck = true; 32 - checkPhase = "yarn run test"; 33 - 34 - nativeBuildInputs = [ imagemagick ]; 35 16 36 17 meta = with lib; { 37 18 description = "Frontend for the Mobilizon server";
+79 -79
pkgs/servers/mobilizon/mix.nix
··· 10 10 packages = with beamPackages; with self; { 11 11 absinthe = buildMix rec { 12 12 name = "absinthe"; 13 - version = "1.7.5"; 13 + version = "1.7.6"; 14 14 15 15 src = fetchHex { 16 16 pkg = "absinthe"; 17 17 version = "${version}"; 18 - sha256 = "22a9a38adca26294ad0ee91226168f5d215b401efd770b8a1b8fd9c9b21ec316"; 18 + sha256 = "e7626951ca5eec627da960615b51009f3a774765406ff02722b1d818f17e5778"; 19 19 }; 20 20 21 21 beamDeps = [ dataloader decimal nimble_parsec telemetry ]; ··· 49 49 50 50 argon2_elixir = buildMix rec { 51 51 name = "argon2_elixir"; 52 - version = "3.2.1"; 52 + version = "4.0.0"; 53 53 54 54 src = fetchHex { 55 55 pkg = "argon2_elixir"; 56 56 version = "${version}"; 57 - sha256 = "a813b78217394530b5fcf4c8070feee43df03ffef938d044019169c766315690"; 57 + sha256 = "f9da27cf060c9ea61b1bd47837a28d7e48a8f6fa13a745e252556c14f9132c7f"; 58 58 }; 59 59 60 60 beamDeps = [ comeonin elixir_make ]; ··· 101 101 102 102 castore = buildMix rec { 103 103 name = "castore"; 104 - version = "1.0.3"; 104 + version = "1.0.4"; 105 105 106 106 src = fetchHex { 107 107 pkg = "castore"; 108 108 version = "${version}"; 109 - sha256 = "680ab01ef5d15b161ed6a95449fac5c6b8f60055677a8e79acf01b27baa4390b"; 109 + sha256 = "9418c1b8144e11656f0be99943db4caf04612e3eaecefb5dae9a2a87565584f8"; 110 110 }; 111 111 112 112 beamDeps = []; ··· 127 127 128 128 cldr_utils = buildMix rec { 129 129 name = "cldr_utils"; 130 - version = "2.24.1"; 130 + version = "2.24.2"; 131 131 132 132 src = fetchHex { 133 133 pkg = "cldr_utils"; 134 134 version = "${version}"; 135 - sha256 = "1820300531b5b849d0bc468e5a87cd64f8f2c5191916f548cbe69b2efc203780"; 135 + sha256 = "3362b838836a9f0fa309de09a7127e36e67310e797d556db92f71b548832c7cf"; 136 136 }; 137 137 138 138 beamDeps = [ castore certifi decimal ]; ··· 244 244 245 245 credo = buildMix rec { 246 246 name = "credo"; 247 - version = "1.7.0"; 247 + version = "1.7.1"; 248 248 249 249 src = fetchHex { 250 250 pkg = "credo"; 251 251 version = "${version}"; 252 - sha256 = "6839fcf63d1f0d1c0f450abc8564a57c43d644077ab96f2934563e68b8a769d7"; 252 + sha256 = "e9871c6095a4c0381c89b6aa98bc6260a8ba6addccf7f6a53da8849c748a58a2"; 253 253 }; 254 254 255 255 beamDeps = [ bunt file_system jason ]; ··· 309 309 310 310 dialyxir = buildMix rec { 311 311 name = "dialyxir"; 312 - version = "1.4.1"; 312 + version = "1.4.2"; 313 313 314 314 src = fetchHex { 315 315 pkg = "dialyxir"; 316 316 version = "${version}"; 317 - sha256 = "84b795d6d7796297cca5a3118444b80c7d94f7ce247d49886e7c291e1ae49801"; 317 + sha256 = "516603d8067b2fd585319e4b13d3674ad4f314a5902ba8130cd97dc902ce6bbd"; 318 318 }; 319 319 320 320 beamDeps = [ erlex ]; ··· 348 348 349 349 earmark_parser = buildMix rec { 350 350 name = "earmark_parser"; 351 - version = "1.4.33"; 351 + version = "1.4.38"; 352 352 353 353 src = fetchHex { 354 354 pkg = "earmark_parser"; 355 355 version = "${version}"; 356 - sha256 = "2d526833729b59b9fdb85785078697c72ac5e5066350663e5be6a1182da61b8f"; 356 + sha256 = "2cd0907795aaef0c7e8442e376633c5b3bd6edc8dbbdc539b22f095501c1cdb6"; 357 357 }; 358 358 359 359 beamDeps = []; ··· 374 374 375 375 ecto = buildMix rec { 376 376 name = "ecto"; 377 - version = "3.10.3"; 377 + version = "3.11.0"; 378 378 379 379 src = fetchHex { 380 380 pkg = "ecto"; 381 381 version = "${version}"; 382 - sha256 = "44bec74e2364d491d70f7e42cd0d690922659d329f6465e89feb8a34e8cd3433"; 382 + sha256 = "7769dad267ef967310d6e988e92d772659b11b09a0c015f101ce0fff81ce1f81"; 383 383 }; 384 384 385 385 beamDeps = [ decimal jason telemetry ]; ··· 439 439 440 440 ecto_sql = buildMix rec { 441 441 name = "ecto_sql"; 442 - version = "3.10.2"; 442 + version = "3.11.0"; 443 443 444 444 src = fetchHex { 445 445 pkg = "ecto_sql"; 446 446 version = "${version}"; 447 - sha256 = "68c018debca57cb9235e3889affdaec7a10616a4e3a80c99fa1d01fdafaa9007"; 447 + sha256 = "77aa3677169f55c2714dda7352d563002d180eb33c0dc29cd36d39c0a1a971f5"; 448 448 }; 449 449 450 450 beamDeps = [ db_connection ecto postgrex telemetry ]; ··· 517 517 518 518 ex_cldr = buildMix rec { 519 519 name = "ex_cldr"; 520 - version = "2.37.2"; 520 + version = "2.37.5"; 521 521 522 522 src = fetchHex { 523 523 pkg = "ex_cldr"; 524 524 version = "${version}"; 525 - sha256 = "c8467b1d5080716ace6621703b6656cb2f9545572a54b341da900791a0cf92ba"; 525 + sha256 = "74ad5ddff791112ce4156382e171a5f5d3766af9d5c4675e0571f081fe136479"; 526 526 }; 527 527 528 528 beamDeps = [ cldr_utils decimal gettext jason nimble_parsec ]; ··· 543 543 544 544 ex_cldr_currencies = buildMix rec { 545 545 name = "ex_cldr_currencies"; 546 - version = "2.15.0"; 546 + version = "2.15.1"; 547 547 548 548 src = fetchHex { 549 549 pkg = "ex_cldr_currencies"; 550 550 version = "${version}"; 551 - sha256 = "0521316396c66877a2d636219767560bb2397c583341fcb154ecf9f3000e6ff8"; 551 + sha256 = "31df8bd37688340f8819bdd770eb17d659652078d34db632b85d4a32864d6a25"; 552 552 }; 553 553 554 554 beamDeps = [ ex_cldr jason ]; ··· 556 556 557 557 ex_cldr_dates_times = buildMix rec { 558 558 name = "ex_cldr_dates_times"; 559 - version = "2.14.0"; 559 + version = "2.16.0"; 560 560 561 561 src = fetchHex { 562 562 pkg = "ex_cldr_dates_times"; 563 563 version = "${version}"; 564 - sha256 = "f85a8b00546f6aecc2df7a97f15b9de66662d81578653128699c839f7a40bf94"; 564 + sha256 = "0f2f250d479cadda4e0ef3a5e3d936ae7ba1a3f1199db6791e284e86203495b1"; 565 565 }; 566 566 567 567 beamDeps = [ ex_cldr_calendars ex_cldr_numbers jason ]; ··· 582 582 583 583 ex_cldr_numbers = buildMix rec { 584 584 name = "ex_cldr_numbers"; 585 - version = "2.32.0"; 585 + version = "2.32.3"; 586 586 587 587 src = fetchHex { 588 588 pkg = "ex_cldr_numbers"; 589 589 version = "${version}"; 590 - sha256 = "08c43c26b8605b56b5856bb9277d2a0282f2e29b43c57dfbfd7bf9c28b4a504a"; 590 + sha256 = "7b626ff1e59a0ec9c3c5db5ce9ca91a6995e2ab56426b71f3cbf67181ea225f5"; 591 591 }; 592 592 593 593 beamDeps = [ decimal digital_token ex_cldr ex_cldr_currencies jason ]; ··· 595 595 596 596 ex_cldr_plugs = buildMix rec { 597 597 name = "ex_cldr_plugs"; 598 - version = "1.3.0"; 598 + version = "1.3.1"; 599 599 600 600 src = fetchHex { 601 601 pkg = "ex_cldr_plugs"; 602 602 version = "${version}"; 603 - sha256 = "699a98543ea14a7c849fae768041c40f49aa611aa55866025d227796e4858bff"; 603 + sha256 = "4f7b4a5fe061734cef7b62ff29118ed6ac72698cdd7bcfc97495db73611fe0fe"; 604 604 }; 605 605 606 606 beamDeps = [ ex_cldr gettext jason plug ]; ··· 608 608 609 609 ex_doc = buildMix rec { 610 610 name = "ex_doc"; 611 - version = "0.30.6"; 611 + version = "0.30.9"; 612 612 613 613 src = fetchHex { 614 614 pkg = "ex_doc"; 615 615 version = "${version}"; 616 - sha256 = "bd48f2ddacf4e482c727f9293d9498e0881597eae6ddc3d9562bd7923375109f"; 616 + sha256 = "d7aaaf21e95dc5cddabf89063327e96867d00013963eadf2c6ad135506a8bc10"; 617 617 }; 618 618 619 619 beamDeps = [ earmark_parser makeup_elixir makeup_erlang ]; ··· 673 673 674 674 excoveralls = buildMix rec { 675 675 name = "excoveralls"; 676 - version = "0.17.1"; 676 + version = "0.18.0"; 677 677 678 678 src = fetchHex { 679 679 pkg = "excoveralls"; 680 680 version = "${version}"; 681 - sha256 = "95bc6fda953e84c60f14da4a198880336205464e75383ec0f570180567985ae0"; 681 + sha256 = "1109bb911f3cb583401760be49c02cbbd16aed66ea9509fc5479335d284da60b"; 682 682 }; 683 683 684 684 beamDeps = [ castore jason ]; ··· 699 699 700 700 expo = buildMix rec { 701 701 name = "expo"; 702 - version = "0.1.0"; 702 + version = "0.4.1"; 703 703 704 704 src = fetchHex { 705 705 pkg = "expo"; 706 706 version = "${version}"; 707 - sha256 = "c22c536021c56de058aaeedeabb4744eb5d48137bacf8c29f04d25b6c6bbbf45"; 707 + sha256 = "2ff7ba7a798c8c543c12550fa0e2cbc81b95d4974c65855d8d15ba7b37a1ce47"; 708 708 }; 709 709 710 710 beamDeps = []; ··· 777 777 778 778 floki = buildMix rec { 779 779 name = "floki"; 780 - version = "0.34.3"; 780 + version = "0.35.2"; 781 781 782 782 src = fetchHex { 783 783 pkg = "floki"; 784 784 version = "${version}"; 785 - sha256 = "9577440eea5b97924b4bf3c7ea55f7b8b6dce589f9b28b096cc294a8dc342341"; 785 + sha256 = "6b05289a8e9eac475f644f09c2e4ba7e19201fd002b89c28c1293e7bd16773d9"; 786 786 }; 787 787 788 788 beamDeps = []; ··· 868 868 869 869 gettext = buildMix rec { 870 870 name = "gettext"; 871 - version = "0.20.0"; 871 + version = "0.23.1"; 872 872 873 873 src = fetchHex { 874 874 pkg = "gettext"; 875 875 version = "${version}"; 876 - sha256 = "1c03b177435e93a47441d7f681a7040bd2a816ece9e2666d1c9001035121eb3d"; 876 + sha256 = "19d744a36b809d810d610b57c27b934425859d158ebd56561bc41f7eeb8795db"; 877 877 }; 878 878 879 - beamDeps = []; 879 + beamDeps = [ expo ]; 880 880 }; 881 881 882 882 guardian = buildMix rec { 883 883 name = "guardian"; 884 - version = "2.3.1"; 884 + version = "2.3.2"; 885 885 886 886 src = fetchHex { 887 887 pkg = "guardian"; 888 888 version = "${version}"; 889 - sha256 = "bbe241f9ca1b09fad916ad42d6049d2600bbc688aba5b3c4a6c82592a54274c3"; 889 + sha256 = "b189ff38cd46a22a8a824866a6867ca8722942347f13c33f7d23126af8821b52"; 890 890 }; 891 891 892 892 beamDeps = [ jose plug ]; ··· 894 894 895 895 guardian_db = buildMix rec { 896 896 name = "guardian_db"; 897 - version = "2.1.0"; 897 + version = "3.0.0"; 898 898 899 899 src = fetchHex { 900 900 pkg = "guardian_db"; 901 901 version = "${version}"; 902 - sha256 = "f8e7d543ac92c395f3a7fd5acbe6829faeade57d688f7562e2f0fca8f94a0d70"; 902 + sha256 = "9c2ec4278efa34f9f1cc6ba795e552d41fdc7ffba5319d67eeb533b89392d183"; 903 903 }; 904 904 905 905 beamDeps = [ ecto ecto_sql guardian postgrex ]; ··· 920 920 921 921 hackney = buildRebar3 rec { 922 922 name = "hackney"; 923 - version = "1.18.2"; 923 + version = "1.20.1"; 924 924 925 925 src = fetchHex { 926 926 pkg = "hackney"; 927 927 version = "${version}"; 928 - sha256 = "af94d5c9f97857db257090a4a10e5426ecb6f4918aa5cc666798566ae14b65fd"; 928 + sha256 = "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"; 929 929 }; 930 930 931 931 beamDeps = [ certifi idna metrics mimerl parse_trans ssl_verify_fun unicode_util_compat ]; ··· 1102 1102 1103 1103 makeup = buildMix rec { 1104 1104 name = "makeup"; 1105 - version = "1.1.0"; 1105 + version = "1.1.1"; 1106 1106 1107 1107 src = fetchHex { 1108 1108 pkg = "makeup"; 1109 1109 version = "${version}"; 1110 - sha256 = "0a45ed501f4a8897f580eabf99a2e5234ea3e75a4373c8a52824f6e873be57a6"; 1110 + sha256 = "5dc62fbdd0de44de194898b6710692490be74baa02d9d108bc29f007783b0b48"; 1111 1111 }; 1112 1112 1113 1113 beamDeps = [ nimble_parsec ]; ··· 1258 1258 1259 1259 mox = buildMix rec { 1260 1260 name = "mox"; 1261 - version = "1.0.2"; 1261 + version = "1.1.0"; 1262 1262 1263 1263 src = fetchHex { 1264 1264 pkg = "mox"; 1265 1265 version = "${version}"; 1266 - sha256 = "f9864921b3aaf763c8741b5b8e6f908f44566f1e427b2630e89e9a73b981fef2"; 1266 + sha256 = "d44474c50be02d5b72131070281a5d3895c0e7a95c780e90bc0cfe712f633a13"; 1267 1267 }; 1268 1268 1269 1269 beamDeps = []; ··· 1284 1284 1285 1285 nimble_parsec = buildMix rec { 1286 1286 name = "nimble_parsec"; 1287 - version = "1.3.1"; 1287 + version = "1.4.0"; 1288 1288 1289 1289 src = fetchHex { 1290 1290 pkg = "nimble_parsec"; 1291 1291 version = "${version}"; 1292 - sha256 = "2682e3c0b2eb58d90c6375fc0cc30bc7be06f365bf72608804fb9cffa5e1b167"; 1292 + sha256 = "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"; 1293 1293 }; 1294 1294 1295 1295 beamDeps = []; ··· 1336 1336 1337 1337 oban = buildMix rec { 1338 1338 name = "oban"; 1339 - version = "2.15.4"; 1339 + version = "2.16.3"; 1340 1340 1341 1341 src = fetchHex { 1342 1342 pkg = "oban"; 1343 1343 version = "${version}"; 1344 - sha256 = "5fce611fdfffb13e9148df883116e5201adf1e731eb302cc88cde0588510079c"; 1344 + sha256 = "4d8a7fb62f63cf2f2080c78954425f5fd8916ef57196b7f79b5bc657abb2ac5f"; 1345 1345 }; 1346 1346 1347 1347 beamDeps = [ ecto_sql jason postgrex telemetry ]; ··· 1375 1375 1376 1376 phoenix = buildMix rec { 1377 1377 name = "phoenix"; 1378 - version = "1.7.7"; 1378 + version = "1.7.10"; 1379 1379 1380 1380 src = fetchHex { 1381 1381 pkg = "phoenix"; 1382 1382 version = "${version}"; 1383 - sha256 = "8966e15c395e5e37591b6ed0bd2ae7f48e961f0f60ac4c733f9566b519453085"; 1383 + sha256 = "cf784932e010fd736d656d7fead6a584a4498efefe5b8227e9f383bf15bb79d0"; 1384 1384 }; 1385 1385 1386 1386 beamDeps = [ castore jason phoenix_pubsub phoenix_template phoenix_view plug plug_cowboy plug_crypto telemetry websock_adapter ]; ··· 1388 1388 1389 1389 phoenix_ecto = buildMix rec { 1390 1390 name = "phoenix_ecto"; 1391 - version = "4.4.2"; 1391 + version = "4.4.3"; 1392 1392 1393 1393 src = fetchHex { 1394 1394 pkg = "phoenix_ecto"; 1395 1395 version = "${version}"; 1396 - sha256 = "70242edd4601d50b69273b057ecf7b684644c19ee750989fd555625ae4ce8f5d"; 1396 + sha256 = "d36c401206f3011fefd63d04e8ef626ec8791975d9d107f9a0817d426f61ac07"; 1397 1397 }; 1398 1398 1399 1399 beamDeps = [ ecto phoenix_html plug ]; ··· 1401 1401 1402 1402 phoenix_html = buildMix rec { 1403 1403 name = "phoenix_html"; 1404 - version = "3.3.2"; 1404 + version = "3.3.3"; 1405 1405 1406 1406 src = fetchHex { 1407 1407 pkg = "phoenix_html"; 1408 1408 version = "${version}"; 1409 - sha256 = "44adaf8e667c1c20fb9d284b6b0fa8dc7946ce29e81ce621860aa7e96de9a11d"; 1409 + sha256 = "923ebe6fec6e2e3b3e569dfbdc6560de932cd54b000ada0208b5f45024bdd76c"; 1410 1410 }; 1411 1411 1412 1412 beamDeps = [ plug ]; ··· 1427 1427 1428 1428 phoenix_live_view = buildMix rec { 1429 1429 name = "phoenix_live_view"; 1430 - version = "0.19.5"; 1430 + version = "0.20.1"; 1431 1431 1432 1432 src = fetchHex { 1433 1433 pkg = "phoenix_live_view"; 1434 1434 version = "${version}"; 1435 - sha256 = "b2eaa0dd3cfb9bd7fb949b88217df9f25aed915e986a28ad5c8a0d054e7ca9d3"; 1435 + sha256 = "be494fd1215052729298b0e97d5c2ce8e719c00854b82cd8cf15c1cd7fcf6294"; 1436 1436 }; 1437 1437 1438 - beamDeps = [ jason phoenix phoenix_html phoenix_template phoenix_view telemetry ]; 1438 + beamDeps = [ jason phoenix phoenix_html phoenix_template phoenix_view plug telemetry ]; 1439 1439 }; 1440 1440 1441 1441 phoenix_pubsub = buildMix rec { ··· 1479 1479 1480 1480 phoenix_view = buildMix rec { 1481 1481 name = "phoenix_view"; 1482 - version = "2.0.2"; 1482 + version = "2.0.3"; 1483 1483 1484 1484 src = fetchHex { 1485 1485 pkg = "phoenix_view"; 1486 1486 version = "${version}"; 1487 - sha256 = "a929e7230ea5c7ee0e149ffcf44ce7cf7f4b6d2bfe1752dd7c084cdff152d36f"; 1487 + sha256 = "cd34049af41be2c627df99cd4eaa71fc52a328c0c3d8e7d4aa28f880c30e7f64"; 1488 1488 }; 1489 1489 1490 1490 beamDeps = [ phoenix_html phoenix_template ]; ··· 1492 1492 1493 1493 plug = buildMix rec { 1494 1494 name = "plug"; 1495 - version = "1.14.2"; 1495 + version = "1.15.2"; 1496 1496 1497 1497 src = fetchHex { 1498 1498 pkg = "plug"; 1499 1499 version = "${version}"; 1500 - sha256 = "842fc50187e13cf4ac3b253d47d9474ed6c296a8732752835ce4a86acdf68d13"; 1500 + sha256 = "02731fa0c2dcb03d8d21a1d941bdbbe99c2946c0db098eee31008e04c6283615"; 1501 1501 }; 1502 1502 1503 1503 beamDeps = [ mime plug_crypto telemetry ]; ··· 1518 1518 1519 1519 plug_crypto = buildMix rec { 1520 1520 name = "plug_crypto"; 1521 - version = "1.2.5"; 1521 + version = "2.0.0"; 1522 1522 1523 1523 src = fetchHex { 1524 1524 pkg = "plug_crypto"; 1525 1525 version = "${version}"; 1526 - sha256 = "26549a1d6345e2172eb1c233866756ae44a9609bd33ee6f99147ab3fd87fd842"; 1526 + sha256 = "53695bae57cc4e54566d993eb01074e4d894b65a3766f1c43e2c61a1b0f45ea9"; 1527 1527 }; 1528 1528 1529 1529 beamDeps = []; ··· 1739 1739 1740 1740 swoosh = buildMix rec { 1741 1741 name = "swoosh"; 1742 - version = "1.11.5"; 1742 + version = "1.14.1"; 1743 1743 1744 1744 src = fetchHex { 1745 1745 pkg = "swoosh"; 1746 1746 version = "${version}"; 1747 - sha256 = "21ee57dcd68d2f56d3bbe11e76d56d142b221bb12b6018c551cc68442b800040"; 1747 + sha256 = "87da72260b4351678f96aec61db5c2acc8a88cda2cf2c4f534eb4c9c461350c7"; 1748 1748 }; 1749 1749 1750 - beamDeps = [ cowboy gen_smtp hackney jason mime plug_cowboy telemetry ]; 1750 + beamDeps = [ cowboy gen_smtp hackney jason mime plug plug_cowboy telemetry ]; 1751 1751 }; 1752 1752 1753 1753 telemetry = buildRebar3 rec { ··· 1765 1765 1766 1766 tesla = buildMix rec { 1767 1767 name = "tesla"; 1768 - version = "1.7.0"; 1768 + version = "1.8.0"; 1769 1769 1770 1770 src = fetchHex { 1771 1771 pkg = "tesla"; 1772 1772 version = "${version}"; 1773 - sha256 = "2e64f01ebfdb026209b47bc651a0e65203fcff4ae79c11efb73c4852b00dc313"; 1773 + sha256 = "10501f360cd926a309501287470372af1a6e1cbed0f43949203a4c13300bc79f"; 1774 1774 }; 1775 1775 1776 1776 beamDeps = [ castore hackney jason mime telemetry ]; ··· 1791 1791 1792 1792 tz_world = buildMix rec { 1793 1793 name = "tz_world"; 1794 - version = "1.3.0"; 1794 + version = "1.3.1"; 1795 1795 1796 1796 src = fetchHex { 1797 1797 pkg = "tz_world"; 1798 1798 version = "${version}"; 1799 - sha256 = "78b565aa0899b48ce34686319119dfdadff07a255ec43fd9ed6e7d60cc8d1390"; 1799 + sha256 = "901ed2b4a4430ecab3765244da4a19e6f19141867c2ab3753924919b87ed2224"; 1800 1800 }; 1801 1801 1802 1802 beamDeps = [ castore certifi geo jason ]; ··· 1895 1895 1896 1896 ueberauth_google = buildMix rec { 1897 1897 name = "ueberauth_google"; 1898 - version = "0.10.3"; 1898 + version = "0.12.1"; 1899 1899 1900 1900 src = fetchHex { 1901 1901 pkg = "ueberauth_google"; 1902 1902 version = "${version}"; 1903 - sha256 = "2462ca9652acc936e0738691869d024e3e262f83ba9f6b4e874b961812290038"; 1903 + sha256 = "7f7deacd679b2b66e3bffb68ecc77aa1b5396a0cbac2941815f253128e458c38"; 1904 1904 }; 1905 1905 1906 1906 beamDeps = [ oauth2 ueberauth ]; ··· 1999 1999 2000 2000 websock_adapter = buildMix rec { 2001 2001 name = "websock_adapter"; 2002 - version = "0.5.4"; 2002 + version = "0.5.5"; 2003 2003 2004 2004 src = fetchHex { 2005 2005 pkg = "websock_adapter"; 2006 2006 version = "${version}"; 2007 - sha256 = "d2c238c79c52cbe223fcdae22ca0bb5007a735b9e933870e241fce66afb4f4ab"; 2007 + sha256 = "4b977ba4a01918acbf77045ff88de7f6972c2a009213c515a445c48f224ffce9"; 2008 2008 }; 2009 2009 2010 2010 beamDeps = [ plug plug_cowboy websock ];
-140
pkgs/servers/mobilizon/package.json
··· 1 - { 2 - "name": "mobilizon", 3 - "version": "3.2.0", 4 - "private": true, 5 - "scripts": { 6 - "dev": "vite", 7 - "preview": "vite preview", 8 - "build": "yarn run build:assets && yarn run build:pictures", 9 - "lint": "eslint --ext .ts,.vue --ignore-path .gitignore --fix src", 10 - "format": "prettier . --write", 11 - "build:assets": "vite build", 12 - "build:pictures": "bash ./scripts/build/pictures.sh", 13 - "story:dev": "histoire dev", 14 - "story:build": "histoire build", 15 - "story:preview": "histoire preview", 16 - "test": "vitest", 17 - "coverage": "vitest run --coverage", 18 - "prepare": "cd ../ && husky install" 19 - }, 20 - "lint-staged": { 21 - "**/*.{js,ts,vue}": [ 22 - "eslint --fix", 23 - "prettier --write" 24 - ] 25 - }, 26 - "dependencies": { 27 - "@absinthe/socket": "^0.2.1", 28 - "@absinthe/socket-apollo-link": "^0.2.1", 29 - "@apollo/client": "^3.3.16", 30 - "@oruga-ui/oruga-next": "^0.6.0", 31 - "@sentry/tracing": "^7.1", 32 - "@sentry/vue": "^7.1", 33 - "@tiptap/core": "^2.0.0-beta.41", 34 - "@tiptap/extension-blockquote": "^2.0.0-beta.25", 35 - "@tiptap/extension-bold": "^2.0.0-beta.24", 36 - "@tiptap/extension-bubble-menu": "^2.0.0-beta.9", 37 - "@tiptap/extension-bullet-list": "^2.0.0-beta.23", 38 - "@tiptap/extension-document": "^2.0.0-beta.15", 39 - "@tiptap/extension-dropcursor": "^2.0.0-beta.25", 40 - "@tiptap/extension-gapcursor": "^2.0.0-beta.33", 41 - "@tiptap/extension-heading": "^2.0.0-beta.23", 42 - "@tiptap/extension-history": "^2.0.0-beta.21", 43 - "@tiptap/extension-image": "^2.0.0-beta.6", 44 - "@tiptap/extension-italic": "^2.0.0-beta.24", 45 - "@tiptap/extension-link": "^2.0.0-beta.8", 46 - "@tiptap/extension-list-item": "^2.0.0-beta.19", 47 - "@tiptap/extension-mention": "^2.0.0-beta.42", 48 - "@tiptap/extension-ordered-list": "^2.0.0-beta.24", 49 - "@tiptap/extension-paragraph": "^2.0.0-beta.22", 50 - "@tiptap/extension-placeholder": "^2.0.0-beta.199", 51 - "@tiptap/extension-strike": "^2.0.0-beta.26", 52 - "@tiptap/extension-text": "^2.0.0-beta.15", 53 - "@tiptap/extension-underline": "^2.0.0-beta.7", 54 - "@tiptap/pm": "^2.0.0-beta.220", 55 - "@tiptap/suggestion": "^2.0.0-beta.195", 56 - "@tiptap/vue-3": "^2.0.0-beta.96", 57 - "@vue-a11y/announcer": "^2.1.0", 58 - "@vue-a11y/skip-to": "^2.1.2", 59 - "@vue-leaflet/vue-leaflet": "^0.10.1", 60 - "@vue/apollo-composable": "^4.0.0-beta.9", 61 - "@vue/compiler-sfc": "^3.2.37", 62 - "@vueuse/core": "^10.0.2", 63 - "@vueuse/head": "^1.0", 64 - "@vueuse/router": "^10.0.2", 65 - "apollo-absinthe-upload-link": "^1.5.0", 66 - "autoprefixer": "^10", 67 - "blurhash": "^2.0.0", 68 - "date-fns": "^2.16.0", 69 - "date-fns-tz": "^2.0.0", 70 - "floating-vue": "^2.0.0-beta.24", 71 - "graphql": "^15.8.0", 72 - "graphql-tag": "^2.10.3", 73 - "hammerjs": "^2.0.8", 74 - "intersection-observer": "^0.12.0", 75 - "jwt-decode": "^3.1.2", 76 - "leaflet": "^1.4.0", 77 - "leaflet.locatecontrol": "^0.79", 78 - "leaflet.markercluster": "^1.5.3", 79 - "lodash": "^4.17.11", 80 - "ngeohash": "^0.6.3", 81 - "p-debounce": "^4.0.0", 82 - "phoenix": "^1.6", 83 - "postcss": "^8", 84 - "register-service-worker": "^1.7.2", 85 - "sanitize-html": "^2.5.3", 86 - "tailwindcss": "^3", 87 - "tippy.js": "^6.2.3", 88 - "unfetch": "^5.0.0", 89 - "vue": "^3.2.37", 90 - "vue-i18n": "9", 91 - "vue-material-design-icons": "^5.1.2", 92 - "vue-matomo": "^4.1.0", 93 - "vue-plausible": "^1.3.1", 94 - "vue-router": "4", 95 - "vue-scrollto": "^2.17.1", 96 - "vue-use-route-query": "^1.1.0", 97 - "zhyswan-vuedraggable": "^4.1.3" 98 - }, 99 - "devDependencies": { 100 - "@histoire/plugin-vue": "^0.17.1", 101 - "@playwright/test": "^1.25.1", 102 - "@rushstack/eslint-patch": "^1.1.4", 103 - "@tailwindcss/forms": "^0.5.2", 104 - "@tailwindcss/typography": "^0.5.4", 105 - "@types/hammerjs": "^2.0.41", 106 - "@types/leaflet": "^1.5.2", 107 - "@types/leaflet.locatecontrol": "^0.74", 108 - "@types/leaflet.markercluster": "^1.5.1", 109 - "@types/lodash": "^4.14.141", 110 - "@types/ngeohash": "^0.6.2", 111 - "@types/phoenix": "^1.5.2", 112 - "@types/sanitize-html": "^2.5.0", 113 - "@vitejs/plugin-vue": "^4.0.0", 114 - "@vitest/coverage-v8": "^0.34.1", 115 - "@vitest/ui": "^0.34.1", 116 - "@vue/eslint-config-prettier": "^8.0.0", 117 - "@vue/eslint-config-typescript": "^11.0.0", 118 - "@vue/test-utils": "^2.0.2", 119 - "eslint": "^8.21.0", 120 - "eslint-config-prettier": "^9.0.0", 121 - "eslint-plugin-import": "^2.20.2", 122 - "eslint-plugin-prettier": "^5.0.0", 123 - "eslint-plugin-vue": "^9.3.0", 124 - "flush-promises": "^1.0.2", 125 - "histoire": "^0.17.0", 126 - "husky": "^8.0.3", 127 - "jsdom": "^22.0.0", 128 - "lint-staged": "^14.0.1", 129 - "mock-apollo-client": "^1.1.0", 130 - "prettier": "^3.0.0", 131 - "prettier-eslint": "^15.0.1", 132 - "rollup-plugin-visualizer": "^5.7.1", 133 - "sass": "^1.34.1", 134 - "typescript": "~5.1.3", 135 - "vite": "^4.0.4", 136 - "vite-plugin-pwa": "^0.16.4", 137 - "vitest": "^0.34.1", 138 - "vue-i18n-extract": "^2.0.4" 139 - } 140 - }