{ 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; rev = "6d9db86e30f6e73cbc0929926bc45c626c2d25d0"; hash = "sha256-3cB3oJlkhedV9SRI7L5lmJ3i7sSQ1aTYl66nJoDrGUE="; }; mixNixDeps = import "${src}/mix.nix" { inherit lib beamPackages; }; meta = with lib; { description = "Bulk Downloader for Reddit Web UI"; homepage = "https://git.kempkens.io/daniel/bdfr-browser"; license = [ licenses.isc ]; platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ]; }; }