1
0
Fork 0
nix-overlay/packages/weewx-proxy.nix

29 lines
846 B
Nix
Raw Normal View History

{ 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 = "weewx-proxy";
version = "0.0.1";
src = pkgs.fetchFromGitea {
domain = "git.kempkens.io";
owner = "daniel";
repo = pname;
rev = "2ad93b457ccda286185e8e64a284589111f48768";
sha256 = "sha256-cMsz+72xSnJhPRGbrVrJWF4dJlyuFImc6JLBZw3lDIM=";
};
mixNixDeps = import "${src}/mix.nix" { inherit lib beamPackages; };
}