2023-08-20 22:20:42 +00:00
|
|
|
{ lib, beamPackages, overrides ? (x: y: { }) }:
|
2023-05-17 22:13:55 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildRebar3 = lib.makeOverridable beamPackages.buildRebar3;
|
|
|
|
buildMix = lib.makeOverridable beamPackages.buildMix;
|
|
|
|
buildErlangMk = lib.makeOverridable beamPackages.buildErlangMk;
|
|
|
|
|
|
|
|
self = packages // (overrides self packages);
|
|
|
|
|
|
|
|
packages = with beamPackages; with self; {
|
|
|
|
cowboy = buildErlangMk rec {
|
|
|
|
name = "cowboy";
|
|
|
|
version = "2.10.0";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "cowboy";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "3afdccb7183cc6f143cb14d3cf51fa00e53db9ec80cdcd525482f5e99bc41d6b";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ cowlib ranch ];
|
|
|
|
};
|
|
|
|
|
|
|
|
cowboy_telemetry = buildRebar3 rec {
|
|
|
|
name = "cowboy_telemetry";
|
|
|
|
version = "0.4.0";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "cowboy_telemetry";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ cowboy telemetry ];
|
|
|
|
};
|
|
|
|
|
|
|
|
cowlib = buildRebar3 rec {
|
|
|
|
name = "cowlib";
|
|
|
|
version = "2.12.1";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "cowlib";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "163b73f6367a7341b33c794c4e88e7dbfe6498ac42dcd69ef44c5bc5507c8db0";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-13 23:45:48 +00:00
|
|
|
db_connection = buildMix rec {
|
|
|
|
name = "db_connection";
|
2023-10-18 15:58:41 +00:00
|
|
|
version = "2.6.0";
|
2023-08-13 23:45:48 +00:00
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "db_connection";
|
2023-08-13 23:45:48 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "c2f992d15725e721ec7fbc1189d4ecdb8afef76648c746a8e1cad35e3b8a35f3";
|
2023-08-13 23:45:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ telemetry ];
|
|
|
|
};
|
|
|
|
|
|
|
|
decimal = buildMix rec {
|
|
|
|
name = "decimal";
|
|
|
|
version = "2.1.1";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "decimal";
|
2023-08-13 23:45:48 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc";
|
2023-08-13 23:45:48 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-08-13 23:45:48 +00:00
|
|
|
};
|
|
|
|
|
2023-05-17 22:13:55 +00:00
|
|
|
earmark = buildMix rec {
|
|
|
|
name = "earmark";
|
2023-10-01 22:33:41 +00:00
|
|
|
version = "1.4.46";
|
2023-05-17 22:13:55 +00:00
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "earmark";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "798d86db3d79964e759ddc0c077d5eb254968ed426399fbf5a62de2b5ff8910a";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-10-01 22:33:41 +00:00
|
|
|
beamDeps = [ ];
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-13 23:45:48 +00:00
|
|
|
ecto = buildMix rec {
|
|
|
|
name = "ecto";
|
|
|
|
version = "3.10.3";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "ecto";
|
2023-08-13 23:45:48 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "44bec74e2364d491d70f7e42cd0d690922659d329f6465e89feb8a34e8cd3433";
|
2023-08-13 23:45:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ decimal jason telemetry ];
|
|
|
|
};
|
|
|
|
|
|
|
|
ecto_sql = buildMix rec {
|
|
|
|
name = "ecto_sql";
|
2023-08-24 13:57:23 +00:00
|
|
|
version = "3.10.2";
|
2023-08-13 23:45:48 +00:00
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "ecto_sql";
|
2023-08-13 23:45:48 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "68c018debca57cb9235e3889affdaec7a10616a4e3a80c99fa1d01fdafaa9007";
|
2023-08-13 23:45:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ db_connection ecto postgrex telemetry ];
|
|
|
|
};
|
|
|
|
|
2023-08-14 16:23:29 +00:00
|
|
|
file_system = buildMix rec {
|
|
|
|
name = "file_system";
|
|
|
|
version = "0.2.10";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "file_system";
|
2023-08-14 16:23:29 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc";
|
2023-08-14 16:23:29 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-08-14 16:23:29 +00:00
|
|
|
};
|
|
|
|
|
2023-05-17 22:13:55 +00:00
|
|
|
jason = buildMix rec {
|
|
|
|
name = "jason";
|
2023-08-13 23:45:48 +00:00
|
|
|
version = "1.4.1";
|
2023-05-17 22:13:55 +00:00
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "jason";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-13 23:45:48 +00:00
|
|
|
beamDeps = [ decimal ];
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mime = buildMix rec {
|
|
|
|
name = "mime";
|
2023-08-13 23:45:48 +00:00
|
|
|
version = "2.0.5";
|
2023-05-17 22:13:55 +00:00
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "mime";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "da0d64a365c45bc9935cc5c8a7fc5e49a0e0f9932a761c55d6c52b142780a05c";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
plug = buildMix rec {
|
|
|
|
name = "plug";
|
2023-10-18 15:58:41 +00:00
|
|
|
version = "1.15.1";
|
2023-05-17 22:13:55 +00:00
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "plug";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "459497bd94d041d98d948054ec6c0b76feacd28eec38b219ca04c0de13c79d30";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ mime plug_crypto telemetry ];
|
|
|
|
};
|
|
|
|
|
|
|
|
plug_cowboy = buildMix rec {
|
|
|
|
name = "plug_cowboy";
|
|
|
|
version = "2.6.1";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "plug_cowboy";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "de36e1a21f451a18b790f37765db198075c25875c64834bcc82d90b309eb6613";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ cowboy cowboy_telemetry plug ];
|
|
|
|
};
|
|
|
|
|
|
|
|
plug_crypto = buildMix rec {
|
|
|
|
name = "plug_crypto";
|
2023-10-18 15:58:41 +00:00
|
|
|
version = "2.0.0";
|
2023-05-17 22:13:55 +00:00
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "plug_crypto";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "53695bae57cc4e54566d993eb01074e4d894b65a3766f1c43e2c61a1b0f45ea9";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-13 23:45:48 +00:00
|
|
|
postgrex = buildMix rec {
|
|
|
|
name = "postgrex";
|
2023-10-01 22:33:41 +00:00
|
|
|
version = "0.17.3";
|
2023-08-13 23:45:48 +00:00
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "postgrex";
|
2023-08-13 23:45:48 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "946cf46935a4fdca7a81448be76ba3503cff082df42c6ec1ff16a4bdfbfb098d";
|
2023-08-13 23:45:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ db_connection decimal jason ];
|
|
|
|
};
|
|
|
|
|
2023-05-17 22:13:55 +00:00
|
|
|
ranch = buildRebar3 rec {
|
|
|
|
name = "ranch";
|
|
|
|
version = "1.8.0";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "ranch";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
telemetry = buildRebar3 rec {
|
|
|
|
name = "telemetry";
|
|
|
|
version = "1.2.1";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "telemetry";
|
2023-05-17 22:13:55 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5";
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
2023-08-14 16:23:29 +00:00
|
|
|
|
|
|
|
typed_struct = buildMix rec {
|
|
|
|
name = "typed_struct";
|
|
|
|
version = "0.3.0";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "typed_struct";
|
2023-08-14 16:23:29 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "c50bd5c3a61fe4e198a8504f939be3d3c85903b382bde4865579bc23111d1b6d";
|
2023-08-14 16:23:29 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-08-17 13:08:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
yamerl = buildRebar3 rec {
|
|
|
|
name = "yamerl";
|
|
|
|
version = "0.10.0";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "yamerl";
|
2023-08-17 13:08:10 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "346adb2963f1051dc837a2364e4acf6eb7d80097c0f53cbdc3046ec8ec4b4e6e";
|
2023-08-17 13:08:10 +00:00
|
|
|
};
|
|
|
|
|
2023-08-20 22:20:42 +00:00
|
|
|
beamDeps = [ ];
|
2023-08-17 13:08:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
yaml_elixir = buildMix rec {
|
|
|
|
name = "yaml_elixir";
|
|
|
|
version = "2.9.0";
|
|
|
|
|
|
|
|
src = fetchHex {
|
2023-10-18 15:58:41 +00:00
|
|
|
pkg = "yaml_elixir";
|
2023-08-17 13:08:10 +00:00
|
|
|
version = "${version}";
|
2023-10-18 15:58:41 +00:00
|
|
|
sha256 = "0cb0e7d4c56f5e99a6253ed1a670ed0e39c13fc45a6da054033928607ac08dfc";
|
2023-08-17 13:08:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
beamDeps = [ yamerl ];
|
2023-08-14 16:23:29 +00:00
|
|
|
};
|
2023-05-17 22:13:55 +00:00
|
|
|
};
|
2023-08-20 22:20:42 +00:00
|
|
|
in
|
|
|
|
self
|
2023-05-17 22:13:55 +00:00
|
|
|
|