286 lines
6.2 KiB
Nix
286 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 = "${name}";
|
|
version = "${version}";
|
|
sha256 = "0sqxqjdykxc2ai9cvkc0xjwkvr80z98wzlqlrd1z3iiw32vwrz9s";
|
|
};
|
|
|
|
beamDeps = [ cowlib ranch ];
|
|
};
|
|
|
|
cowboy_telemetry = buildRebar3 rec {
|
|
name = "cowboy_telemetry";
|
|
version = "0.4.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "1pn90is3k9dq64wbijvzkqb6ldfqvwiqi7ymc8dx6ra5xv0vm63x";
|
|
};
|
|
|
|
beamDeps = [ cowboy telemetry ];
|
|
};
|
|
|
|
cowlib = buildRebar3 rec {
|
|
name = "cowlib";
|
|
version = "2.12.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "1c4dgi8canscyjgddp22mjc69znvwy44wk3r7jrl2wvs6vv76fqn";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
db_connection = buildMix rec {
|
|
name = "db_connection";
|
|
version = "2.5.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "18jsnmabdjwj3i7ml43ljzrzzvfy1a3bnbaqywgsv7nndji5nbf9";
|
|
};
|
|
|
|
beamDeps = [ telemetry ];
|
|
};
|
|
|
|
decimal = buildMix rec {
|
|
name = "decimal";
|
|
version = "2.1.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "1k7z418b6cj977wswpxsk5844xrxc1smaiqsmrqpf3pdjzsfbksk";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
earmark = buildMix rec {
|
|
name = "earmark";
|
|
version = "1.4.46";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "02liz1gjppk2bazryf96sj79cm5jbryhf36wkmslx5kr7pdqd3br";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
earmark_parser = buildMix rec {
|
|
name = "earmark_parser";
|
|
version = "1.4.33";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "13qvlqnii8g6bcz6cl330vjwaan7jy30g1app3yvjncvf8rnhlid";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
ecto = buildMix rec {
|
|
name = "ecto";
|
|
version = "3.10.3";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "0crlrpl392pbkzl6ar4z6afna8h9d46wshky1zbr3m344d7cggj4";
|
|
};
|
|
|
|
beamDeps = [ decimal jason telemetry ];
|
|
};
|
|
|
|
ecto_sql = buildMix rec {
|
|
name = "ecto_sql";
|
|
version = "3.10.2";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "01whmapzs08xzachra73lhb0d8f7mvysz29qbqivjz55pkg1ih38";
|
|
};
|
|
|
|
beamDeps = [ db_connection ecto postgrex telemetry ];
|
|
};
|
|
|
|
file_system = buildMix rec {
|
|
name = "file_system";
|
|
version = "0.2.10";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "1p0myxmnjjds8bbg69dd6fvhk8q3n7lb78zd4qvmjajnzgdmw6a1";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
jason = buildMix rec {
|
|
name = "jason";
|
|
version = "1.4.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "18d70i31bz11nr6vgsjn5prvhkvwqbyf3xq22ck5cnsnzp6ixc7v";
|
|
};
|
|
|
|
beamDeps = [ decimal ];
|
|
};
|
|
|
|
mime = buildMix rec {
|
|
name = "mime";
|
|
version = "2.0.5";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "0p50h0ki8ay5sraiqxiajgwy1829bvyagj65bj9wjny4cnin83fs";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
plug = buildMix rec {
|
|
name = "plug";
|
|
version = "1.15.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "0c5fz0fx1z25vz12iqsgm434lg6nigkp685fk37nin8m226lfd74";
|
|
};
|
|
|
|
beamDeps = [ mime plug_crypto telemetry ];
|
|
};
|
|
|
|
plug_cowboy = buildMix rec {
|
|
name = "plug_cowboy";
|
|
version = "2.6.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "04v6xc4v741dr2y38j66fmcc4xc037dnaxzkj2vih6j53yif2dny";
|
|
};
|
|
|
|
beamDeps = [ cowboy cowboy_telemetry plug ];
|
|
};
|
|
|
|
plug_crypto = buildMix rec {
|
|
name = "plug_crypto";
|
|
version = "1.2.5";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "0hnqgzc3zas7j7wycgnkkdhaji5farkqccy2n4p1gqj5ccfrlm16";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
postgrex = buildMix rec {
|
|
name = "postgrex";
|
|
version = "0.17.3";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "1389zgxvv90nzz0nwb7l5l4gyg2hldmyg2s4h5xcmzd46mlz8v4l";
|
|
};
|
|
|
|
beamDeps = [ db_connection decimal jason ];
|
|
};
|
|
|
|
ranch = buildRebar3 rec {
|
|
name = "ranch";
|
|
version = "1.8.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "1rfz5ld54pkd2w25jadyznia2vb7aw9bclck21fizargd39wzys9";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
telemetry = buildRebar3 rec {
|
|
name = "telemetry";
|
|
version = "1.2.1";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "1mgyx9zw92g6w8fp9pblm3b0bghwxwwcbslrixq23ipzisfwxnfs";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
typed_struct = buildMix rec {
|
|
name = "typed_struct";
|
|
version = "0.3.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "0v8v3l8j7g3ran3f9gc2nc1mkj6kwfdr6kshm2cf3r0zlv1xa2y5";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
yamerl = buildRebar3 rec {
|
|
name = "yamerl";
|
|
version = "0.10.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "0vjf9gnchvh4qfykrxf0jw0didvfrx54wdm26z41s1gicclxnsil";
|
|
};
|
|
|
|
beamDeps = [ ];
|
|
};
|
|
|
|
yaml_elixir = buildMix rec {
|
|
name = "yaml_elixir";
|
|
version = "2.9.0";
|
|
|
|
src = fetchHex {
|
|
pkg = "${name}";
|
|
version = "${version}";
|
|
sha256 = "1z4dq1x60a1r0daa0vasqhzw2f8fxmqadl9y4nk9jpkgqpafgc0c";
|
|
};
|
|
|
|
beamDeps = [ yamerl ];
|
|
};
|
|
};
|
|
in
|
|
self
|
|
|