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-24 09:13:59 +00:00
|
|
|
rev = "7359b6f84910d2742fef0f8ce45fdd6e3cd39594";
|
|
|
|
hash = "sha256-scR7DWDpUdtt74IHLuJzaRbwAtdqscVEVBfOiGRuxZY=";
|
2023-09-11 22:30:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mixNixDeps = import "${src}/mix.nix" { inherit lib beamPackages; };
|
2023-10-18 19:02:00 +00:00
|
|
|
|
|
|
|
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" ];
|
|
|
|
};
|
2023-09-11 22:30:06 +00:00
|
|
|
}
|