2023-09-11 22:30:06 +00:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
erlang = pkgs.beam.interpreters.erlangR26;
|
|
|
|
beamPackagesPrev = pkgs.beam.packagesWith erlang;
|
|
|
|
elixir = beamPackagesPrev.elixir_1_15;
|
|
|
|
|
|
|
|
beamPackages = beamPackagesPrev // rec {
|
|
|
|
inherit erlang elixir;
|
|
|
|
hex = beamPackagesPrev.hex.override { inherit elixir; };
|
|
|
|
buildMix = beamPackagesPrev.buildMix.override { inherit elixir erlang hex; };
|
|
|
|
mixRelease = beamPackagesPrev.mixRelease.override { inherit erlang elixir; };
|
|
|
|
};
|
|
|
|
in
|
|
|
|
beamPackages.mixRelease rec {
|
|
|
|
pname = "bdfr-browser";
|
|
|
|
version = "0.0.1";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitea {
|
|
|
|
domain = "git.kempkens.io";
|
|
|
|
owner = "daniel";
|
|
|
|
repo = pname;
|
2023-10-09 20:40:11 +00:00
|
|
|
rev = "96b430ef2e49a384dd30f006df5df2b794a5626f";
|
|
|
|
hash = "sha256-J0n3sG6Fo+tZgKdiHQq1ZfDo5w1QBAU8d8sOdcoB2wg=";
|
2023-09-11 22:30:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mixNixDeps = import "${src}/mix.nix" { inherit lib beamPackages; };
|
|
|
|
}
|