273 lines
6.2 KiB
Nix
273 lines
6.2 KiB
Nix
{ lib, beamPackages, overrides ? (x: y: { }) }:
|
|
|
|
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 {
|
|
pkg = "cowboy";
|
|
version = "${version}";
|
|
sha256 = "3afdccb7183cc6f143cb14d3cf51fa00e53db9ec80cdcd525482f5e99bc41d6b";
|
|
};
|
|
|
|
beamDeps = [ cowlib ranch ];
|
|
};
|
|
|
|
cowboy_telemetry = buildRebar3 rec {
|
|
name = "cowboy_telemetry";
|
|
version = "0.4.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "cowboy_telemetry";
|
|
version = "${version}";
|
|
sha256 = "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de";
|
|
};
|
|
|
|
beamDeps = [ cowboy telemetry ];
|
|
};
|
|
|
|
cowlib = buildRebar3 rec {
|
|
name = "cowlib";
|
|
version = "2.12.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "cowlib";
|
|
version = "${version}";
|
|
sha256 = "163b73f6367a7341b33c794c4e88e7dbfe6498ac42dcd69ef44c5bc5507c8db0";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
db_connection = buildMix rec {
|
|
name = "db_connection";
|
|
version = "2.6.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "db_connection";
|
|
version = "${version}";
|
|
sha256 = "c2f992d15725e721ec7fbc1189d4ecdb8afef76648c746a8e1cad35e3b8a35f3";
|
|
};
|
|
|
|
beamDeps = [ telemetry ];
|
|
};
|
|
|
|
decimal = buildMix rec {
|
|
name = "decimal";
|
|
version = "2.1.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "decimal";
|
|
version = "${version}";
|
|
sha256 = "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
earmark = buildMix rec {
|
|
name = "earmark";
|
|
version = "1.4.46";
|
|
|
|
src = fetchHex {
|
|
pkg = "earmark";
|
|
version = "${version}";
|
|
sha256 = "798d86db3d79964e759ddc0c077d5eb254968ed426399fbf5a62de2b5ff8910a";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
ecto = buildMix rec {
|
|
name = "ecto";
|
|
version = "3.10.3";
|
|
|
|
src = fetchHex {
|
|
pkg = "ecto";
|
|
version = "${version}";
|
|
sha256 = "44bec74e2364d491d70f7e42cd0d690922659d329f6465e89feb8a34e8cd3433";
|
|
};
|
|
|
|
beamDeps = [ decimal jason telemetry ];
|
|
};
|
|
|
|
ecto_sql = buildMix rec {
|
|
name = "ecto_sql";
|
|
version = "3.10.2";
|
|
|
|
src = fetchHex {
|
|
pkg = "ecto_sql";
|
|
version = "${version}";
|
|
sha256 = "68c018debca57cb9235e3889affdaec7a10616a4e3a80c99fa1d01fdafaa9007";
|
|
};
|
|
|
|
beamDeps = [ db_connection ecto postgrex telemetry ];
|
|
};
|
|
|
|
file_system = buildMix rec {
|
|
name = "file_system";
|
|
version = "0.2.10";
|
|
|
|
src = fetchHex {
|
|
pkg = "file_system";
|
|
version = "${version}";
|
|
sha256 = "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
jason = buildMix rec {
|
|
name = "jason";
|
|
version = "1.4.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "jason";
|
|
version = "${version}";
|
|
sha256 = "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1";
|
|
};
|
|
|
|
beamDeps = [ decimal ];
|
|
};
|
|
|
|
mime = buildMix rec {
|
|
name = "mime";
|
|
version = "2.0.5";
|
|
|
|
src = fetchHex {
|
|
pkg = "mime";
|
|
version = "${version}";
|
|
sha256 = "da0d64a365c45bc9935cc5c8a7fc5e49a0e0f9932a761c55d6c52b142780a05c";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
plug = buildMix rec {
|
|
name = "plug";
|
|
version = "1.15.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "plug";
|
|
version = "${version}";
|
|
sha256 = "459497bd94d041d98d948054ec6c0b76feacd28eec38b219ca04c0de13c79d30";
|
|
};
|
|
|
|
beamDeps = [ mime plug_crypto telemetry ];
|
|
};
|
|
|
|
plug_cowboy = buildMix rec {
|
|
name = "plug_cowboy";
|
|
version = "2.6.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "plug_cowboy";
|
|
version = "${version}";
|
|
sha256 = "de36e1a21f451a18b790f37765db198075c25875c64834bcc82d90b309eb6613";
|
|
};
|
|
|
|
beamDeps = [ cowboy cowboy_telemetry plug ];
|
|
};
|
|
|
|
plug_crypto = buildMix rec {
|
|
name = "plug_crypto";
|
|
version = "2.0.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "plug_crypto";
|
|
version = "${version}";
|
|
sha256 = "53695bae57cc4e54566d993eb01074e4d894b65a3766f1c43e2c61a1b0f45ea9";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
postgrex = buildMix rec {
|
|
name = "postgrex";
|
|
version = "0.17.3";
|
|
|
|
src = fetchHex {
|
|
pkg = "postgrex";
|
|
version = "${version}";
|
|
sha256 = "946cf46935a4fdca7a81448be76ba3503cff082df42c6ec1ff16a4bdfbfb098d";
|
|
};
|
|
|
|
beamDeps = [ db_connection decimal jason ];
|
|
};
|
|
|
|
ranch = buildRebar3 rec {
|
|
name = "ranch";
|
|
version = "1.8.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "ranch";
|
|
version = "${version}";
|
|
sha256 = "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
telemetry = buildRebar3 rec {
|
|
name = "telemetry";
|
|
version = "1.2.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "telemetry";
|
|
version = "${version}";
|
|
sha256 = "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
typed_struct = buildMix rec {
|
|
name = "typed_struct";
|
|
version = "0.3.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "typed_struct";
|
|
version = "${version}";
|
|
sha256 = "c50bd5c3a61fe4e198a8504f939be3d3c85903b382bde4865579bc23111d1b6d";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
yamerl = buildRebar3 rec {
|
|
name = "yamerl";
|
|
version = "0.10.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "yamerl";
|
|
version = "${version}";
|
|
sha256 = "346adb2963f1051dc837a2364e4acf6eb7d80097c0f53cbdc3046ec8ec4b4e6e";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
yaml_elixir = buildMix rec {
|
|
name = "yaml_elixir";
|
|
version = "2.9.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "yaml_elixir";
|
|
version = "${version}";
|
|
sha256 = "0cb0e7d4c56f5e99a6253ed1a670ed0e39c13fc45a6da054033928607ac08dfc";
|
|
};
|
|
|
|
beamDeps = [ yamerl ];
|
|
};
|
|
};
|
|
in
|
|
self
|
|
|