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-20 17:50:31 +00:00
|
|
|
rev = "6d9db86e30f6e73cbc0929926bc45c626c2d25d0";
|
|
|
|
hash = "sha256-3cB3oJlkhedV9SRI7L5lmJ3i7sSQ1aTYl66nJoDrGUE=";
|
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
|
|
|
}
|