format all nix code by using nix fmt

This commit is contained in:
778a69cd 2024-08-19 12:15:01 +02:00
parent 56fc90e965
commit b39e566cde
4 changed files with 2036 additions and 1640 deletions

View file

@ -1,12 +1,13 @@
{ lib {
, beamPackages lib,
, fetchFromGitHub beamPackages,
, git fetchFromGitHub,
, cmake git,
, nixosTests cmake,
, src nixosTests,
, src-config src,
, mobilizon-js src-config,
mobilizon-js,
}: }:
let let
@ -25,19 +26,18 @@ mixRelease rec {
# This circumvents a startup error for now # This circumvents a startup error for now
stripDebug = false; stripDebug = false;
nativeBuildInputs = [ git cmake ]; nativeBuildInputs = [
git
cmake
];
mixNixDeps = import ./mix.nix { mixNixDeps = import ./mix.nix {
inherit beamPackages lib; inherit beamPackages lib;
overrides = (final: prev: overrides = (
(lib.mapAttrs final: prev:
(_: value: value.override { (lib.mapAttrs (_: value: value.override { appConfigPath = src-config; }) prev)
appConfigPath = src-config; // {
}) fast_html = prev.fast_html.override { nativeBuildInputs = [ cmake ]; };
prev) // {
fast_html = prev.fast_html.override {
nativeBuildInputs = [ cmake ];
};
ex_cldr = prev.ex_cldr.overrideAttrs (old: { ex_cldr = prev.ex_cldr.overrideAttrs (old: {
# We have to use the GitHub sources, as it otherwise tries to download # We have to use the GitHub sources, as it otherwise tries to download
# the locales at build time. # the locales at build time.
@ -45,7 +45,8 @@ mixRelease rec {
owner = "elixir-cldr"; owner = "elixir-cldr";
repo = "cldr"; repo = "cldr";
rev = "v${old.version}"; rev = "v${old.version}";
sha256 = assert old.version == "2.37.5"; sha256 =
assert old.version == "2.37.5";
"sha256-T5Qvuo+xPwpgBsqHNZYnTCA4loToeBn1LKTMsDcCdYs="; "sha256-T5Qvuo+xPwpgBsqHNZYnTCA4loToeBn1LKTMsDcCdYs=";
}; };
postInstall = '' postInstall = ''
@ -67,7 +68,10 @@ mixRelease rec {
rev = "6e143dcde0a2854c4f0d72816b7ecab696432779"; rev = "6e143dcde0a2854c4f0d72816b7ecab696432779";
sha256 = "sha256-Da+/28SPZuUQBi8fQj31zmMvhMrYUaQIW4U4E+mRtMg="; sha256 = "sha256-Da+/28SPZuUQBi8fQj31zmMvhMrYUaQIW4U4E+mRtMg=";
}; };
beamDeps = with final; [ httpoison jose ]; beamDeps = with final; [
httpoison
jose
];
}; };
icalendar = buildMix rec { icalendar = buildMix rec {
name = "icalendar"; name = "icalendar";
@ -78,7 +82,11 @@ mixRelease rec {
rev = "1033d922c82a7223db0ec138e2316557b70ff49f"; rev = "1033d922c82a7223db0ec138e2316557b70ff49f";
sha256 = "sha256-N3bJZznNazLewHS4c2B7LP1lgxd1wev+EWVlQ7rOwfU="; sha256 = "sha256-N3bJZznNazLewHS4c2B7LP1lgxd1wev+EWVlQ7rOwfU=";
}; };
beamDeps = with final; [ mix_test_watch ex_doc timex ]; beamDeps = with final; [
mix_test_watch
ex_doc
timex
];
}; };
rajska = buildMix rec { rajska = buildMix rec {
name = "rajska"; name = "rajska";
@ -89,7 +97,14 @@ mixRelease rec {
rev = "0c036448e261e8be6a512581c592fadf48982d84"; rev = "0c036448e261e8be6a512581c592fadf48982d84";
sha256 = "sha256-4pfply1vTAIT2Xvm3kONmrCK05xKfXFvcb8EKoSCXBE="; sha256 = "sha256-4pfply1vTAIT2Xvm3kONmrCK05xKfXFvcb8EKoSCXBE=";
}; };
beamDeps = with final; [ ex_doc credo absinthe excoveralls hammer mock ]; beamDeps = with final; [
ex_doc
credo
absinthe
excoveralls
hammer
mock
];
}; };
exkismet = buildMix rec { exkismet = buildMix rec {
name = "exkismet"; name = "exkismet";
@ -100,10 +115,17 @@ mixRelease rec {
rev = "8b5485fde00fafbde20f315bec387a77f7358334"; rev = "8b5485fde00fafbde20f315bec387a77f7358334";
sha256 = "sha256-ttgCWoBKU7VTjZJBhZNtqVF4kN7psBr/qOeR65MbTqw="; sha256 = "sha256-ttgCWoBKU7VTjZJBhZNtqVF4kN7psBr/qOeR65MbTqw=";
}; };
beamDeps = with final; [ httpoison ex_doc credo doctor dialyxir ]; beamDeps = with final; [
httpoison
ex_doc
credo
doctor
dialyxir
];
}; };
}); }
);
}; };
preConfigure = '' preConfigure = ''
@ -111,8 +133,7 @@ mixRelease rec {
''; '';
# Install the compiled js part # Install the compiled js part
preBuild = preBuild = ''
''
cp -a "${mobilizon-js}/_napalm-install/priv/static" ./priv cp -a "${mobilizon-js}/_napalm-install/priv/static" ./priv
chmod 770 -R ./priv chmod 770 -R ./priv
''; '';
@ -137,6 +158,9 @@ mixRelease rec {
description = "Mobilizon is an online tool to help manage your events, your profiles and your groups"; description = "Mobilizon is an online tool to help manage your events, your profiles and your groups";
homepage = "https://joinmobilizon.org/"; homepage = "https://joinmobilizon.org/";
license = licenses.agpl3Plus; license = licenses.agpl3Plus;
maintainers = with maintainers; [ minijackson erictapen ]; maintainers = with maintainers; [
minijackson
erictapen
];
}; };
} }

220
flake.nix
View file

@ -8,20 +8,27 @@
napalm.inputs.nixpkgs.follows = "nixpkgs"; napalm.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, nix-filter, napalm }: outputs =
{
self,
nixpkgs,
nix-filter,
napalm,
}:
let let
forAllSystems = f: nixpkgs.lib.genAttrs forAllSystems =
[ "x86_64-linux" "aarch64-linux" ] f:
(system: f system); nixpkgs.lib.genAttrs [
nixpkgsFor = forAllSystems ( "x86_64-linux"
system: "aarch64-linux"
import nixpkgs { inherit system; } ] (system: f system);
); nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
filter = nix-filter.lib; filter = nix-filter.lib;
in in
{ {
packages = forAllSystems (system: packages = forAllSystems (
system:
let let
pkgs = nixpkgsFor.${system}; pkgs = nixpkgsFor.${system};
# Directories that are neither needed for building the frontend nor the backend. # Directories that are neither needed for building the frontend nor the backend.
@ -72,7 +79,10 @@
{ {
inherit nodejs; inherit nodejs;
nativeBuildInputs = [ pkgs.imagemagick ]; nativeBuildInputs = [ pkgs.imagemagick ];
npmCommands = [ "npm install" "npm run build" ]; npmCommands = [
"npm install"
"npm run build"
];
# Keep this in sync with the content of ./patches/ # Keep this in sync with the content of ./patches/
customPatchPackages = { customPatchPackages = {
vue-i18n-extract."2.0.7" = pkgs: prev: { vue-i18n-extract."2.0.7" = pkgs: prev: {
@ -86,15 +96,16 @@
default = self.packages."${system}".mobilizon; default = self.packages."${system}".mobilizon;
# Update local Mobilizon definition # Update local Mobilizon definition
update = update = pkgs.writeShellScriptBin "update" ''
pkgs.writeShellScriptBin "update" ''
set -eou pipefail set -eou pipefail
${pkgs.mix2nix}/bin/mix2nix ./mix.lock > mix.nix ${pkgs.mix2nix}/bin/mix2nix ./mix.lock > mix.nix
''; '';
}); }
);
devShells = forAllSystems (system: devShells = forAllSystems (
system:
let let
pkgs = nixpkgsFor.${system}; pkgs = nixpkgsFor.${system};
settingsFormat = pkgs.formats.elixirConf { }; settingsFormat = pkgs.formats.elixirConf { };
@ -104,11 +115,19 @@
server = true; server = true;
url.host = "mobilizon.dev"; url.host = "mobilizon.dev";
http = { http = {
ip = settingsFormat.lib.mkTuple [ 0 0 0 0 0 0 0 1 ]; ip = settingsFormat.lib.mkTuple [
0
0
0
0
0
0
0
1
];
port = 4000; port = 4000;
}; };
secret_key_base = secret_key_base = "2q/l1WDx3RQQy7gZ1k001//6nc66moWUEJQyGuMK/z3zPLYW6FYtIgCkUzGP0+X/";
"2q/l1WDx3RQQy7gZ1k001//6nc66moWUEJQyGuMK/z3zPLYW6FYtIgCkUzGP0+X/";
}; };
"Mobilizon.Web.Auth.Guardian" = { "Mobilizon.Web.Auth.Guardian" = {
secret_key = "N8x7/tf0kInLFS2poO22g6OGPiMjSrDEhmk29nFqV35q7hQ0DtBt/cRYCsqBNp2L"; secret_key = "N8x7/tf0kInLFS2poO22g6OGPiMjSrDEhmk29nFqV35q7hQ0DtBt/cRYCsqBNp2L";
@ -132,13 +151,11 @@
}; };
in in
{ {
default = default = pkgs.mkShell {
pkgs.mkShell {
MIX_ENV = "dev"; MIX_ENV = "dev";
PGUSER = "mobilizon"; PGUSER = "mobilizon";
PGDATABASE = "mobilizon"; PGDATABASE = "mobilizon";
buildInputs = buildInputs = with pkgs; [
with pkgs; [
elixir elixir
mix2nix mix2nix
cmake cmake
@ -147,7 +164,10 @@
inotify-tools inotify-tools
(pkgs.writeShellApplication { (pkgs.writeShellApplication {
name = "build"; name = "build";
runtimeInputs = [ elixir nodejs ]; runtimeInputs = [
elixir
nodejs
];
text = '' text = ''
mix deps.get mix deps.get
mix deps.compile mix deps.compile
@ -158,7 +178,10 @@
}) })
(pkgs.writeShellApplication { (pkgs.writeShellApplication {
name = "setup"; name = "setup";
runtimeInputs = [ elixir postgresql ]; runtimeInputs = [
elixir
postgresql
];
text = '' text = ''
cat ${mobilizonConfig} > config/runtime.exs cat ${mobilizonConfig} > config/runtime.exs
# We assume the database already exists # We assume the database already exists
@ -188,17 +211,23 @@
}) })
]; ];
}; };
}); }
);
nixosModules.devSetup = { config, lib, pkgs, ... }: nixosModules.devSetup =
{
config,
lib,
pkgs,
...
}:
let let
cfg = config.mobilizonDevEnvironment; cfg = config.mobilizonDevEnvironment;
in in
{ {
options.mobilizonDevEnvironment = { options.mobilizonDevEnvironment = {
enable = lib.mkEnableOption enable = lib.mkEnableOption (lib.mdDoc "development environment for Mobilizon");
(lib.mdDoc "development environment for Mobilizon");
user = lib.mkOption { user = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = "Unix user that runs the backend application to connect to the database"; description = "Unix user that runs the backend application to connect to the database";
@ -228,9 +257,7 @@
}; };
overlays.default = final: prev: { overlays.default = final: prev: { inherit (self.packages."${prev.system}") mobilizon; };
inherit (self.packages."${prev.system}") mobilizon;
};
checks = forAllSystems (system: { checks = forAllSystems (system: {
inherit (self.packages.${system}) mobilizon update; inherit (self.packages.${system}) mobilizon update;
@ -249,12 +276,14 @@
lib = { lib = {
# Patch the logos in the source tree of a mobilizon-frontend package before building. # Patch the logos in the source tree of a mobilizon-frontend package before building.
# Can be used to construct the argument for .overrideAttrs on mobilizon-frontend. # Can be used to construct the argument for .overrideAttrs on mobilizon-frontend.
mobilizonLogosOverride = icons: mobilizonLogosOverride =
icons:
let let
inherit (icons) logo favicon; inherit (icons) logo favicon;
in in
old: { old: {
postPatch = '' postPatch =
''
cp '${logo}' src/assets/logo.svg cp '${logo}' src/assets/logo.svg
magick convert \ magick convert \
@ -326,43 +355,118 @@
-resize 366x108 \ -resize 366x108 \
public/img/mobilizon_logo.png public/img/mobilizon_logo.png
'' + nixpkgs.lib.concatMapStrings ''
({ resize, filename }: '' +
nixpkgs.lib.concatMapStrings
(
{ resize, filename }:
''
magick convert \ magick convert \
-resize x${resize} \ -resize x${resize} \
'${favicon}' \ '${favicon}' \
public/img/icons/${filename} public/img/icons/${filename}
'') ''
)
[ [
{ resize = "180"; filename = "apple-touch-icon.png"; } {
{ resize = "180"; filename = "apple-touch-icon-180x180.png"; } resize = "180";
{ resize = "152"; filename = "apple-touch-icon-152x152.png"; } filename = "apple-touch-icon.png";
{ resize = "120"; filename = "apple-touch-icon-120x120.png"; } }
{ resize = "76"; filename = "apple-touch-icon-76x76.png"; } {
{ resize = "60"; filename = "apple-touch-icon-60x60.png"; } resize = "180";
{ resize = "192"; filename = "android-chrome-192x192.png"; } filename = "apple-touch-icon-180x180.png";
{ resize = "512"; filename = "android-chrome-512x512.png"; } }
{ resize = "192"; filename = "android-chrome-maskable-192x192.png"; } {
{ resize = "512"; filename = "android-chrome-maskable-512x512.png"; } resize = "152";
{ resize = "128"; filename = "badge-128x128.png"; } filename = "apple-touch-icon-152x152.png";
{ resize = "144"; filename = "icon-144x144.png"; } }
{ resize = "168"; filename = "icon-168x168.png"; } {
{ resize = "256"; filename = "icon-256x256.png"; } resize = "120";
{ resize = "48"; filename = "icon-48x48.png"; } filename = "apple-touch-icon-120x120.png";
{ resize = "72"; filename = "icon-72x72.png"; } }
{ resize = "96"; filename = "icon-96x96.png"; } {
{ resize = "144"; filename = "msapplication-icon-144x144.png"; } resize = "76";
{ resize = "150"; filename = "mstile-150x150.png"; } filename = "apple-touch-icon-76x76.png";
{ resize = "192"; filename = "android-chrome-192x192.png"; } }
{ resize = "512"; filename = "android-chrome-512x512.png"; } {
{ resize = "192"; filename = "android-chrome-maskable-192x192.png"; } resize = "60";
{ resize = "512"; filename = "android-chrome-maskable-512x512.png"; } filename = "apple-touch-icon-60x60.png";
}
{
resize = "192";
filename = "android-chrome-192x192.png";
}
{
resize = "512";
filename = "android-chrome-512x512.png";
}
{
resize = "192";
filename = "android-chrome-maskable-192x192.png";
}
{
resize = "512";
filename = "android-chrome-maskable-512x512.png";
}
{
resize = "128";
filename = "badge-128x128.png";
}
{
resize = "144";
filename = "icon-144x144.png";
}
{
resize = "168";
filename = "icon-168x168.png";
}
{
resize = "256";
filename = "icon-256x256.png";
}
{
resize = "48";
filename = "icon-48x48.png";
}
{
resize = "72";
filename = "icon-72x72.png";
}
{
resize = "96";
filename = "icon-96x96.png";
}
{
resize = "144";
filename = "msapplication-icon-144x144.png";
}
{
resize = "150";
filename = "mstile-150x150.png";
}
{
resize = "192";
filename = "android-chrome-192x192.png";
}
{
resize = "512";
filename = "android-chrome-512x512.png";
}
{
resize = "192";
filename = "android-chrome-maskable-192x192.png";
}
{
resize = "512";
filename = "android-chrome-maskable-512x512.png";
}
]; ];
}; };
}; };
formatter = forAllSystems (system: nixpkgsFor.${system}.nixfmt-rfc-style);
}; };
} }

View file

@ -7,7 +7,10 @@ in
{ {
name = "mobilizon"; name = "mobilizon";
meta.maintainers = with lib.maintainers; [ minijackson erictapen ]; meta.maintainers = with lib.maintainers; [
minijackson
erictapen
];
nodes.server = nodes.server =
{ pkgs, ... }: { pkgs, ... }:

397
mix.nix
View file

@ -1,4 +1,8 @@
{ lib, beamPackages, overrides ? (x: y: {}) }: {
lib,
beamPackages,
overrides ? (x: y: { }),
}:
let let
buildRebar3 = lib.makeOverridable beamPackages.buildRebar3; buildRebar3 = lib.makeOverridable beamPackages.buildRebar3;
@ -7,7 +11,10 @@ let
self = packages // (overrides self packages); self = packages // (overrides self packages);
packages = with beamPackages; with self; { packages =
with beamPackages;
with self;
{
absinthe = buildMix rec { absinthe = buildMix rec {
name = "absinthe"; name = "absinthe";
version = "1.7.6"; version = "1.7.6";
@ -18,7 +25,12 @@ let
sha256 = "e7626951ca5eec627da960615b51009f3a774765406ff02722b1d818f17e5778"; sha256 = "e7626951ca5eec627da960615b51009f3a774765406ff02722b1d818f17e5778";
}; };
beamDeps = [ dataloader decimal nimble_parsec telemetry ]; beamDeps = [
dataloader
decimal
nimble_parsec
telemetry
];
}; };
absinthe_phoenix = buildMix rec { absinthe_phoenix = buildMix rec {
@ -31,7 +43,14 @@ let
sha256 = "d36918925c380dc7d2ed7d039c9a3b4182ec36723f7417a68745ade5aab22f8d"; sha256 = "d36918925c380dc7d2ed7d039c9a3b4182ec36723f7417a68745ade5aab22f8d";
}; };
beamDeps = [ absinthe absinthe_plug decimal phoenix phoenix_html phoenix_pubsub ]; beamDeps = [
absinthe
absinthe_plug
decimal
phoenix
phoenix_html
phoenix_pubsub
];
}; };
absinthe_plug = buildMix rec { absinthe_plug = buildMix rec {
@ -44,7 +63,10 @@ let
sha256 = "bbb04176647b735828861e7b2705465e53e2cf54ccf5a73ddd1ebd855f996e5a"; sha256 = "bbb04176647b735828861e7b2705465e53e2cf54ccf5a73ddd1ebd855f996e5a";
}; };
beamDeps = [ absinthe plug ]; beamDeps = [
absinthe
plug
];
}; };
argon2_elixir = buildMix rec { argon2_elixir = buildMix rec {
@ -57,7 +79,10 @@ let
sha256 = "f9da27cf060c9ea61b1bd47837a28d7e48a8f6fa13a745e252556c14f9132c7f"; sha256 = "f9da27cf060c9ea61b1bd47837a28d7e48a8f6fa13a745e252556c14f9132c7f";
}; };
beamDeps = [ comeonin elixir_make ]; beamDeps = [
comeonin
elixir_make
];
}; };
atomex = buildMix rec { atomex = buildMix rec {
@ -83,7 +108,13 @@ let
sha256 = "3e29150245a9b5f56944434e5240966e75c917dad248f689ab589b32187a81af"; sha256 = "3e29150245a9b5f56944434e5240966e75c917dad248f689ab589b32187a81af";
}; };
beamDeps = [ hpax plug telemetry thousand_island websock ]; beamDeps = [
hpax
plug
telemetry
thousand_island
websock
];
}; };
bunt = buildMix rec { bunt = buildMix rec {
@ -109,7 +140,12 @@ let
sha256 = "ebf24e373883bc8e0c8d894a63bbe102ae13d918f790121f5cfe6e485cc8e2e2"; sha256 = "ebf24e373883bc8e0c8d894a63bbe102ae13d918f790121f5cfe6e485cc8e2e2";
}; };
beamDeps = [ eternal jumper sleeplocks unsafe ]; beamDeps = [
eternal
jumper
sleeplocks
unsafe
];
}; };
castore = buildMix rec { castore = buildMix rec {
@ -148,7 +184,11 @@ let
sha256 = "3362b838836a9f0fa309de09a7127e36e67310e797d556db92f71b548832c7cf"; sha256 = "3362b838836a9f0fa309de09a7127e36e67310e797d556db92f71b548832c7cf";
}; };
beamDeps = [ castore certifi decimal ]; beamDeps = [
castore
certifi
decimal
];
}; };
codepagex = buildMix rec { codepagex = buildMix rec {
@ -213,7 +253,11 @@ let
sha256 = "f799e9b5cd1891577d8c773d245668aa74a2fcd15eb277f51a0131690ebfb3fd"; sha256 = "f799e9b5cd1891577d8c773d245668aa74a2fcd15eb277f51a0131690ebfb3fd";
}; };
beamDeps = [ bunt file_system jason ]; beamDeps = [
bunt
file_system
jason
];
}; };
credo_code_climate = buildMix rec { credo_code_climate = buildMix rec {
@ -226,7 +270,10 @@ let
sha256 = "75529fe38056f4e229821d604758282838b8397c82e2c12e409fda16b16821ca"; sha256 = "75529fe38056f4e229821d604758282838b8397c82e2c12e409fda16b16821ca";
}; };
beamDeps = [ credo jason ]; beamDeps = [
credo
jason
];
}; };
dataloader = buildMix rec { dataloader = buildMix rec {
@ -239,7 +286,10 @@ let
sha256 = "09d61781b76ce216e395cdbc883ff00d00f46a503e215c22722dba82507dfef0"; sha256 = "09d61781b76ce216e395cdbc883ff00d00f46a503e215c22722dba82507dfef0";
}; };
beamDeps = [ ecto telemetry ]; beamDeps = [
ecto
telemetry
];
}; };
db_connection = buildMix rec { db_connection = buildMix rec {
@ -291,7 +341,10 @@ let
sha256 = "2455d626e7c61a128b02a4a8caddb092548c3eb613ac6f6a85e4cbb6caddc4d1"; sha256 = "2455d626e7c61a128b02a4a8caddb092548c3eb613ac6f6a85e4cbb6caddc4d1";
}; };
beamDeps = [ cldr_utils jason ]; beamDeps = [
cldr_utils
jason
];
}; };
doctor = buildMix rec { doctor = buildMix rec {
@ -343,7 +396,11 @@ let
sha256 = "ebd3d3772cd0dfcd8d772659e41ed527c28b2a8bde4b00fe03e0463da0f1983b"; sha256 = "ebd3d3772cd0dfcd8d772659e41ed527c28b2a8bde4b00fe03e0463da0f1983b";
}; };
beamDeps = [ decimal jason telemetry ]; beamDeps = [
decimal
jason
telemetry
];
}; };
ecto_autoslug_field = buildMix rec { ecto_autoslug_field = buildMix rec {
@ -356,7 +413,10 @@ let
sha256 = "b6ddd614805263e24b5c169532c934440d0289181cce873061fca3a8e92fd9ff"; sha256 = "b6ddd614805263e24b5c169532c934440d0289181cce873061fca3a8e92fd9ff";
}; };
beamDeps = [ ecto slugify ]; beamDeps = [
ecto
slugify
];
}; };
ecto_dev_logger = buildMix rec { ecto_dev_logger = buildMix rec {
@ -369,7 +429,10 @@ let
sha256 = "a55e58bad5d5c9b8ef2a3c3347dbdf7efa880a5371cf1457e44b41f489a43927"; sha256 = "a55e58bad5d5c9b8ef2a3c3347dbdf7efa880a5371cf1457e44b41f489a43927";
}; };
beamDeps = [ ecto jason ]; beamDeps = [
ecto
jason
];
}; };
ecto_enum = buildMix rec { ecto_enum = buildMix rec {
@ -382,7 +445,11 @@ let
sha256 = "8fb55c087181c2b15eee406519dc22578fa60dd82c088be376d0010172764ee4"; sha256 = "8fb55c087181c2b15eee406519dc22578fa60dd82c088be376d0010172764ee4";
}; };
beamDeps = [ ecto ecto_sql postgrex ]; beamDeps = [
ecto
ecto_sql
postgrex
];
}; };
ecto_shortuuid = buildMix rec { ecto_shortuuid = buildMix rec {
@ -395,7 +462,10 @@ let
sha256 = "b92e3b71e86be92f5a7ef6f3de170e7864454e630f7b01dd930414baf38efb65"; sha256 = "b92e3b71e86be92f5a7ef6f3de170e7864454e630f7b01dd930414baf38efb65";
}; };
beamDeps = [ ecto shortuuid ]; beamDeps = [
ecto
shortuuid
];
}; };
ecto_sql = buildMix rec { ecto_sql = buildMix rec {
@ -408,7 +478,12 @@ let
sha256 = "ce14063ab3514424276e7e360108ad6c2308f6d88164a076aac8a387e1fea634"; sha256 = "ce14063ab3514424276e7e360108ad6c2308f6d88164a076aac8a387e1fea634";
}; };
beamDeps = [ db_connection ecto postgrex telemetry ]; beamDeps = [
db_connection
ecto
postgrex
telemetry
];
}; };
elixir_feed_parser = buildMix rec { elixir_feed_parser = buildMix rec {
@ -434,7 +509,10 @@ let
sha256 = "7a71945b913d37ea89b06966e1342c85cfe549b15e6d6d081e8081c493062c07"; sha256 = "7a71945b913d37ea89b06966e1342c85cfe549b15e6d6d081e8081c493062c07";
}; };
beamDeps = [ castore certifi ]; beamDeps = [
castore
certifi
];
}; };
erlex = buildMix rec { erlex = buildMix rec {
@ -486,7 +564,13 @@ let
sha256 = "74ad5ddff791112ce4156382e171a5f5d3766af9d5c4675e0571f081fe136479"; sha256 = "74ad5ddff791112ce4156382e171a5f5d3766af9d5c4675e0571f081fe136479";
}; };
beamDeps = [ cldr_utils decimal gettext jason nimble_parsec ]; beamDeps = [
cldr_utils
decimal
gettext
jason
nimble_parsec
];
}; };
ex_cldr_calendars = buildMix rec { ex_cldr_calendars = buildMix rec {
@ -499,7 +583,11 @@ let
sha256 = "06d2407e699032d5cdc515593b7ce7869f10ce28e98a4ed68d9b21e5001036d4"; sha256 = "06d2407e699032d5cdc515593b7ce7869f10ce28e98a4ed68d9b21e5001036d4";
}; };
beamDeps = [ ex_cldr_numbers ex_doc jason ]; beamDeps = [
ex_cldr_numbers
ex_doc
jason
];
}; };
ex_cldr_currencies = buildMix rec { ex_cldr_currencies = buildMix rec {
@ -512,7 +600,10 @@ let
sha256 = "31df8bd37688340f8819bdd770eb17d659652078d34db632b85d4a32864d6a25"; sha256 = "31df8bd37688340f8819bdd770eb17d659652078d34db632b85d4a32864d6a25";
}; };
beamDeps = [ ex_cldr jason ]; beamDeps = [
ex_cldr
jason
];
}; };
ex_cldr_dates_times = buildMix rec { ex_cldr_dates_times = buildMix rec {
@ -525,7 +616,11 @@ let
sha256 = "0f2f250d479cadda4e0ef3a5e3d936ae7ba1a3f1199db6791e284e86203495b1"; sha256 = "0f2f250d479cadda4e0ef3a5e3d936ae7ba1a3f1199db6791e284e86203495b1";
}; };
beamDeps = [ ex_cldr_calendars ex_cldr_numbers jason ]; beamDeps = [
ex_cldr_calendars
ex_cldr_numbers
jason
];
}; };
ex_cldr_languages = buildMix rec { ex_cldr_languages = buildMix rec {
@ -538,7 +633,10 @@ let
sha256 = "22fb1fef72b7b4b4872d243b34e7b83734247a78ad87377986bf719089cc447a"; sha256 = "22fb1fef72b7b4b4872d243b34e7b83734247a78ad87377986bf719089cc447a";
}; };
beamDeps = [ ex_cldr jason ]; beamDeps = [
ex_cldr
jason
];
}; };
ex_cldr_numbers = buildMix rec { ex_cldr_numbers = buildMix rec {
@ -551,7 +649,13 @@ let
sha256 = "6fd5a82f0785418fa8b698c0be2b1845dff92b77f1b3172c763d37868fb503d2"; sha256 = "6fd5a82f0785418fa8b698c0be2b1845dff92b77f1b3172c763d37868fb503d2";
}; };
beamDeps = [ decimal digital_token ex_cldr ex_cldr_currencies jason ]; beamDeps = [
decimal
digital_token
ex_cldr
ex_cldr_currencies
jason
];
}; };
ex_cldr_plugs = buildMix rec { ex_cldr_plugs = buildMix rec {
@ -564,7 +668,12 @@ let
sha256 = "4f7b4a5fe061734cef7b62ff29118ed6ac72698cdd7bcfc97495db73611fe0fe"; sha256 = "4f7b4a5fe061734cef7b62ff29118ed6ac72698cdd7bcfc97495db73611fe0fe";
}; };
beamDeps = [ ex_cldr gettext jason plug ]; beamDeps = [
ex_cldr
gettext
jason
plug
];
}; };
ex_doc = buildMix rec { ex_doc = buildMix rec {
@ -577,7 +686,11 @@ let
sha256 = "3178c3a407c557d8343479e1ff117a96fd31bafe52a039079593fb0524ef61b0"; sha256 = "3178c3a407c557d8343479e1ff117a96fd31bafe52a039079593fb0524ef61b0";
}; };
beamDeps = [ earmark_parser makeup_elixir makeup_erlang ]; beamDeps = [
earmark_parser
makeup_elixir
makeup_erlang
];
}; };
ex_ical = buildMix rec { ex_ical = buildMix rec {
@ -603,7 +716,10 @@ let
sha256 = "419aa7a39bde11894c87a615c4ecaa52d8f107bbdd81d810465186f783245bf8"; sha256 = "419aa7a39bde11894c87a615c4ecaa52d8f107bbdd81d810465186f783245bf8";
}; };
beamDeps = [ ecto ecto_sql ]; beamDeps = [
ecto
ecto_sql
];
}; };
ex_optimizer = buildMix rec { ex_optimizer = buildMix rec {
@ -642,7 +758,10 @@ let
sha256 = "1109bb911f3cb583401760be49c02cbbd16aed66ea9509fc5479335d284da60b"; sha256 = "1109bb911f3cb583401760be49c02cbbd16aed66ea9509fc5479335d284da60b";
}; };
beamDeps = [ castore jason ]; beamDeps = [
castore
jason
];
}; };
exgravatar = buildMix rec { exgravatar = buildMix rec {
@ -694,7 +813,10 @@ let
sha256 = "f18e3c7668f82d3ae0b15f48d48feeb257e28aa5ab1b0dbf781c7312e5da029d"; sha256 = "f18e3c7668f82d3ae0b15f48d48feeb257e28aa5ab1b0dbf781c7312e5da029d";
}; };
beamDeps = [ elixir_make nimble_pool ]; beamDeps = [
elixir_make
nimble_pool
];
}; };
fast_sanitize = buildMix rec { fast_sanitize = buildMix rec {
@ -707,7 +829,10 @@ let
sha256 = "e8ad286d10d0386e15d67d0ee125245ebcfbc7d7290b08712ba9013c8c5e56e2"; sha256 = "e8ad286d10d0386e15d67d0ee125245ebcfbc7d7290b08712ba9013c8c5e56e2";
}; };
beamDeps = [ fast_html plug ]; beamDeps = [
fast_html
plug
];
}; };
file_info = buildMix rec { file_info = buildMix rec {
@ -785,7 +910,12 @@ let
sha256 = "0bebc5b00f8b11835066bd6213fbeeec03704b4a1c206920b81c1ec2201d185f"; sha256 = "0bebc5b00f8b11835066bd6213fbeeec03704b4a1c206920b81c1ec2201d185f";
}; };
beamDeps = [ ecto geo jason postgrex ]; beamDeps = [
ecto
geo
jason
postgrex
];
}; };
geohax = buildMix rec { geohax = buildMix rec {
@ -824,7 +954,10 @@ let
sha256 = "06ff962feae8a310cffdf86b74bfcda6e2d0dccb439bb1f62df2b657b1c0269b"; sha256 = "06ff962feae8a310cffdf86b74bfcda6e2d0dccb439bb1f62df2b657b1c0269b";
}; };
beamDeps = [ geolix mmdb2_decoder ]; beamDeps = [
geolix
mmdb2_decoder
];
}; };
gettext = buildMix rec { gettext = buildMix rec {
@ -850,7 +983,10 @@ let
sha256 = "b189ff38cd46a22a8a824866a6867ca8722942347f13c33f7d23126af8821b52"; sha256 = "b189ff38cd46a22a8a824866a6867ca8722942347f13c33f7d23126af8821b52";
}; };
beamDeps = [ jose plug ]; beamDeps = [
jose
plug
];
}; };
guardian_db = buildMix rec { guardian_db = buildMix rec {
@ -863,7 +999,12 @@ let
sha256 = "9c2ec4278efa34f9f1cc6ba795e552d41fdc7ffba5319d67eeb533b89392d183"; sha256 = "9c2ec4278efa34f9f1cc6ba795e552d41fdc7ffba5319d67eeb533b89392d183";
}; };
beamDeps = [ ecto ecto_sql guardian postgrex ]; beamDeps = [
ecto
ecto_sql
guardian
postgrex
];
}; };
guardian_phoenix = buildMix rec { guardian_phoenix = buildMix rec {
@ -876,7 +1017,10 @@ let
sha256 = "21f439246715192b231f228680465d1ed5fbdf01555a4a3b17165532f5f9a08c"; sha256 = "21f439246715192b231f228680465d1ed5fbdf01555a4a3b17165532f5f9a08c";
}; };
beamDeps = [ guardian phoenix ]; beamDeps = [
guardian
phoenix
];
}; };
hackney = buildRebar3 rec { hackney = buildRebar3 rec {
@ -889,7 +1033,15 @@ let
sha256 = "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"; sha256 = "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3";
}; };
beamDeps = [ certifi idna metrics mimerl parse_trans ssl_verify_fun unicode_util_compat ]; beamDeps = [
certifi
idna
metrics
mimerl
parse_trans
ssl_verify_fun
unicode_util_compat
];
}; };
hammer = buildMix rec { hammer = buildMix rec {
@ -1097,7 +1249,10 @@ let
sha256 = "e127a341ad1b209bd80f7bd1620a15693a9908ed780c3b763bccf7d200c767c6"; sha256 = "e127a341ad1b209bd80f7bd1620a15693a9908ed780c3b763bccf7d200c767c6";
}; };
beamDeps = [ makeup nimble_parsec ]; beamDeps = [
makeup
nimble_parsec
];
}; };
makeup_erlang = buildMix rec { makeup_erlang = buildMix rec {
@ -1318,7 +1473,12 @@ let
sha256 = "fd3ccbbfdbb2bc77107c8790946f9821a831ed0720688485ee6adcd7863886cf"; sha256 = "fd3ccbbfdbb2bc77107c8790946f9821a831ed0720688485ee6adcd7863886cf";
}; };
beamDeps = [ ecto_sql jason postgrex telemetry ]; beamDeps = [
ecto_sql
jason
postgrex
telemetry
];
}; };
paasaa = buildMix rec { paasaa = buildMix rec {
@ -1357,7 +1517,17 @@ let
sha256 = "b1ec57f2e40316b306708fe59b92a16b9f6f4bf50ccfa41aa8c7feb79e0ec02a"; sha256 = "b1ec57f2e40316b306708fe59b92a16b9f6f4bf50ccfa41aa8c7feb79e0ec02a";
}; };
beamDeps = [ castore jason phoenix_pubsub phoenix_template phoenix_view plug plug_crypto telemetry websock_adapter ]; beamDeps = [
castore
jason
phoenix_pubsub
phoenix_template
phoenix_view
plug
plug_crypto
telemetry
websock_adapter
];
}; };
phoenix_ecto = buildMix rec { phoenix_ecto = buildMix rec {
@ -1370,7 +1540,11 @@ let
sha256 = "d36c401206f3011fefd63d04e8ef626ec8791975d9d107f9a0817d426f61ac07"; sha256 = "d36c401206f3011fefd63d04e8ef626ec8791975d9d107f9a0817d426f61ac07";
}; };
beamDeps = [ ecto phoenix_html plug ]; beamDeps = [
ecto
phoenix_html
plug
];
}; };
phoenix_html = buildMix rec { phoenix_html = buildMix rec {
@ -1396,7 +1570,10 @@ let
sha256 = "9bffb834e7ddf08467fe54ae58b5785507aaba6255568ae22b4d46e2bb3615ab"; sha256 = "9bffb834e7ddf08467fe54ae58b5785507aaba6255568ae22b4d46e2bb3615ab";
}; };
beamDeps = [ file_system phoenix ]; beamDeps = [
file_system
phoenix
];
}; };
phoenix_live_view = buildMix rec { phoenix_live_view = buildMix rec {
@ -1409,7 +1586,15 @@ let
sha256 = "daa17b3fbdfd6347aaade4db01a5dd24d23af0f4344e2e24934e8adfb4a11607"; sha256 = "daa17b3fbdfd6347aaade4db01a5dd24d23af0f4344e2e24934e8adfb4a11607";
}; };
beamDeps = [ jason phoenix phoenix_html phoenix_template phoenix_view plug telemetry ]; beamDeps = [
jason
phoenix
phoenix_html
phoenix_template
phoenix_view
plug
telemetry
];
}; };
phoenix_pubsub = buildMix rec { phoenix_pubsub = buildMix rec {
@ -1435,7 +1620,13 @@ let
sha256 = "4000eeba3f9d7d1a6bf56d2bd56733d5cadf41a7f0d8ffe5bb67e7d667e204a2"; sha256 = "4000eeba3f9d7d1a6bf56d2bd56733d5cadf41a7f0d8ffe5bb67e7d667e204a2";
}; };
beamDeps = [ hackney phoenix phoenix_html phoenix_view swoosh ]; beamDeps = [
hackney
phoenix
phoenix_html
phoenix_view
swoosh
];
}; };
phoenix_template = buildMix rec { phoenix_template = buildMix rec {
@ -1461,7 +1652,10 @@ let
sha256 = "cd34049af41be2c627df99cd4eaa71fc52a328c0c3d8e7d4aa28f880c30e7f64"; sha256 = "cd34049af41be2c627df99cd4eaa71fc52a328c0c3d8e7d4aa28f880c30e7f64";
}; };
beamDeps = [ phoenix_html phoenix_template ]; beamDeps = [
phoenix_html
phoenix_template
];
}; };
plug = buildMix rec { plug = buildMix rec {
@ -1474,7 +1668,11 @@ let
sha256 = "cc4365a3c010a56af402e0809208873d113e9c38c401cabd88027ef4f5c01fd2"; sha256 = "cc4365a3c010a56af402e0809208873d113e9c38c401cabd88027ef4f5c01fd2";
}; };
beamDeps = [ mime plug_crypto telemetry ]; beamDeps = [
mime
plug_crypto
telemetry
];
}; };
plug_crypto = buildMix rec { plug_crypto = buildMix rec {
@ -1513,7 +1711,11 @@ let
sha256 = "6458f7d5b70652bc81c3ea759f91736c16a31be000f306d3c64bcdfe9a18b3cc"; sha256 = "6458f7d5b70652bc81c3ea759f91736c16a31be000f306d3c64bcdfe9a18b3cc";
}; };
beamDeps = [ db_connection decimal jason ]; beamDeps = [
db_connection
decimal
jason
];
}; };
progress_bar = buildMix rec { progress_bar = buildMix rec {
@ -1552,7 +1754,10 @@ let
sha256 = "616ffdf66aaad6a72fc546dabf42eed87e2a99e97b09cbd92b10cc180d02ed74"; sha256 = "616ffdf66aaad6a72fc546dabf42eed87e2a99e97b09cbd92b10cc180d02ed74";
}; };
beamDeps = [ combine plug ]; beamDeps = [
combine
plug
];
}; };
replug = buildMix rec { replug = buildMix rec {
@ -1578,7 +1783,11 @@ let
sha256 = "f9fc7641ef61e885510f5e5963c2948b9de1de597c63f781e9d3d6c9c8681ab4"; sha256 = "f9fc7641ef61e885510f5e5963c2948b9de1de597c63f781e9d3d6c9c8681ab4";
}; };
beamDeps = [ hackney jason plug ]; beamDeps = [
hackney
jason
plug
];
}; };
shortuuid = buildMix rec { shortuuid = buildMix rec {
@ -1708,7 +1917,15 @@ let
sha256 = "97a667b96ca8cc48a4679f6cd1f40a36d8701cf052587298473614caa70f164a"; sha256 = "97a667b96ca8cc48a4679f6cd1f40a36d8701cf052587298473614caa70f164a";
}; };
beamDeps = [ bandit gen_smtp hackney jason mime plug telemetry ]; beamDeps = [
bandit
gen_smtp
hackney
jason
mime
plug
telemetry
];
}; };
telemetry = buildRebar3 rec { telemetry = buildRebar3 rec {
@ -1734,7 +1951,13 @@ let
sha256 = "10501f360cd926a309501287470372af1a6e1cbed0f43949203a4c13300bc79f"; sha256 = "10501f360cd926a309501287470372af1a6e1cbed0f43949203a4c13300bc79f";
}; };
beamDeps = [ castore hackney jason mime telemetry ]; beamDeps = [
castore
hackney
jason
mime
telemetry
];
}; };
thousand_island = buildMix rec { thousand_island = buildMix rec {
@ -1760,7 +1983,11 @@ let
sha256 = "8b9024f7efbabaf9bd7aa04f65cf8dcd7c9818ca5737677c7b76acbc6a94d1aa"; sha256 = "8b9024f7efbabaf9bd7aa04f65cf8dcd7c9818ca5737677c7b76acbc6a94d1aa";
}; };
beamDeps = [ combine gettext tzdata ]; beamDeps = [
combine
gettext
tzdata
];
}; };
tls_certificate_check = buildRebar3 rec { tls_certificate_check = buildRebar3 rec {
@ -1786,7 +2013,12 @@ let
sha256 = "d1a345e07b3378c4c902ad54fbd5d54c8c3dd55dba883b7407fe57bcec45ff2a"; sha256 = "d1a345e07b3378c4c902ad54fbd5d54c8c3dd55dba883b7407fe57bcec45ff2a";
}; };
beamDeps = [ castore certifi geo jason ]; beamDeps = [
castore
certifi
geo
jason
];
}; };
tzdata = buildMix rec { tzdata = buildMix rec {
@ -1825,7 +2057,11 @@ let
sha256 = "5068ae2b9e217c2f05aa9a67483a6531e21ba0be9a6f6c8749bb7fd1599be321"; sha256 = "5068ae2b9e217c2f05aa9a67483a6531e21ba0be9a6f6c8749bb7fd1599be321";
}; };
beamDeps = [ httpoison sweet_xml ueberauth ]; beamDeps = [
httpoison
sweet_xml
ueberauth
];
}; };
ueberauth_discord = buildMix rec { ueberauth_discord = buildMix rec {
@ -1838,7 +2074,10 @@ let
sha256 = "d6f98ef91abb4ddceada4b7acba470e0e68c4d2de9735ff2f24172a8e19896b4"; sha256 = "d6f98ef91abb4ddceada4b7acba470e0e68c4d2de9735ff2f24172a8e19896b4";
}; };
beamDeps = [ oauth2 ueberauth ]; beamDeps = [
oauth2
ueberauth
];
}; };
ueberauth_facebook = buildMix rec { ueberauth_facebook = buildMix rec {
@ -1851,7 +2090,10 @@ let
sha256 = "bf8ce5d66b1c50da8abff77e8086c1b710bdde63f4acaef19a651ba43a9537a8"; sha256 = "bf8ce5d66b1c50da8abff77e8086c1b710bdde63f4acaef19a651ba43a9537a8";
}; };
beamDeps = [ oauth2 ueberauth ]; beamDeps = [
oauth2
ueberauth
];
}; };
ueberauth_github = buildMix rec { ueberauth_github = buildMix rec {
@ -1864,7 +2106,10 @@ let
sha256 = "ae0ab2879c32cfa51d7287a48219b262bfdab0b7ec6629f24160564247493cc6"; sha256 = "ae0ab2879c32cfa51d7287a48219b262bfdab0b7ec6629f24160564247493cc6";
}; };
beamDeps = [ oauth2 ueberauth ]; beamDeps = [
oauth2
ueberauth
];
}; };
ueberauth_gitlab_strategy = buildMix rec { ueberauth_gitlab_strategy = buildMix rec {
@ -1877,7 +2122,10 @@ let
sha256 = "e86e2e794bb063c07c05a6b1301b73f2be3ba9308d8f47ecc4d510ef9226091e"; sha256 = "e86e2e794bb063c07c05a6b1301b73f2be3ba9308d8f47ecc4d510ef9226091e";
}; };
beamDeps = [ oauth2 ueberauth ]; beamDeps = [
oauth2
ueberauth
];
}; };
ueberauth_google = buildMix rec { ueberauth_google = buildMix rec {
@ -1890,7 +2138,10 @@ let
sha256 = "7f7deacd679b2b66e3bffb68ecc77aa1b5396a0cbac2941815f253128e458c38"; sha256 = "7f7deacd679b2b66e3bffb68ecc77aa1b5396a0cbac2941815f253128e458c38";
}; };
beamDeps = [ oauth2 ueberauth ]; beamDeps = [
oauth2
ueberauth
];
}; };
ueberauth_keycloak_strategy = buildMix rec { ueberauth_keycloak_strategy = buildMix rec {
@ -1903,7 +2154,10 @@ let
sha256 = "c03027937bddcbd9ff499e457f9bb05f79018fa321abf79ebcfed2af0007211b"; sha256 = "c03027937bddcbd9ff499e457f9bb05f79018fa321abf79ebcfed2af0007211b";
}; };
beamDeps = [ oauth2 ueberauth ]; beamDeps = [
oauth2
ueberauth
];
}; };
ueberauth_twitter = buildMix rec { ueberauth_twitter = buildMix rec {
@ -1916,7 +2170,11 @@ let
sha256 = "83ca8ea3e1a3f976f1adbebfb323b9ebf53af453fbbf57d0486801a303b16065"; sha256 = "83ca8ea3e1a3f976f1adbebfb323b9ebf53af453fbbf57d0486801a303b16065";
}; };
beamDeps = [ httpoison oauther ueberauth ]; beamDeps = [
httpoison
oauther
ueberauth
];
}; };
unicode_util_compat = buildRebar3 rec { unicode_util_compat = buildRebar3 rec {
@ -1968,7 +2226,10 @@ let
sha256 = "08b1726094a131490ff0a2c7764c4cdd4b5cdf8ba9762638a5dd4bcd9e5fc936"; sha256 = "08b1726094a131490ff0a2c7764c4cdd4b5cdf8ba9762638a5dd4bcd9e5fc936";
}; };
beamDeps = [ jason phoenix ]; beamDeps = [
jason
phoenix
];
}; };
websock = buildMix rec { websock = buildMix rec {
@ -1994,7 +2255,11 @@ let
sha256 = "4b977ba4a01918acbf77045ff88de7f6972c2a009213c515a445c48f224ffce9"; sha256 = "4b977ba4a01918acbf77045ff88de7f6972c2a009213c515a445c48f224ffce9";
}; };
beamDeps = [ bandit plug websock ]; beamDeps = [
bandit
plug
websock
];
}; };
xml_builder = buildMix rec { xml_builder = buildMix rec {
@ -2010,5 +2275,5 @@ let
beamDeps = [ ]; beamDeps = [ ];
}; };
}; };
in self in
self