This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
bdfr-browser/mix.nix

296 lines
6.5 KiB
Nix

{ pkgs, lib, beamPackages, overrides ? (x: y: { }) }:
let
buildRebar3 = lib.makeOverridable beamPackages.buildRebar3;
buildMix = lib.makeOverridable beamPackages.buildMix;
buildErlangMk = lib.makeOverridable beamPackages.buildErlangMk;
inherit (pkgs.stdenv) isDarwin;
inherit (pkgs.stdenv) isLinux;
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.39";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "0h547ri1nbxyaisyx7jddg3wib7fpm3q4v914szwvv6bqf79sv0m";
};
beamDeps = [ earmark_parser ];
};
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.1";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "0sy5277akp828hvcg60yxhpfgj543y2z1bqy2z414pv9ppdmp8pn";
};
beamDeps = [ db_connection ecto postgrex telemetry ];
};
enough = buildRebar3 rec {
name = "enough";
version = "0.1.0";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "18gr9cvjar9rrmcj0crgwjb4np4adfbwcaxijajhwpjzvamwfq04";
};
beamDeps = [ ];
};
file_system = buildMix rec {
name = "file_system";
version = "0.2.10";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "1p0myxmnjjds8bbg69dd6fvhk8q3n7lb78zd4qvmjajnzgdmw6a1";
};
buildInputs = [ ] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
CoreFoundation
CoreServices
]) ++ lib.optionals isLinux (with pkgs; [
inotify-tools
]);
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.14.2";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "04wdyv6nma74bj1m49vkm2bc5mjf8zclfg957fng8g71hw0wabw4";
};
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.2";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "036r3q250vrhj4nmyr4cc40krjgbyci18qkhppvkj7akx6liiac0";
};
beamDeps = [ db_connection decimal jason ];
};
ranch = buildRebar3 rec {
name = "ranch";
version = "1.8.0";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "1rfz5ld54pkd2w25jadyznia2vb7aw9bclck21fizargd39wzys9";
};
beamDeps = [ ];
};
systemd = buildRebar3 rec {
name = "systemd";
version = "0.6.2";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "1f082zydhgif5p8pzj4ii32j9p93psgrmgy7ax8v06hch08vjqjh";
};
beamDeps = [ enough ];
};
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 = [ ];
};
};
in
self