beamPackages: Add support for Mix and Erlang.mk

This commit is contained in:
Eric Merritt
2016-04-23 19:03:24 -07:00
parent 3b7aee2e5a
commit 8dbcb4e35e
16 changed files with 43953 additions and 3053 deletions
@@ -0,0 +1,19 @@
{ stdenv, buildRebar3, fetchHex }:
{ name, version, sha256
, hexPkg ? name
, ... }@attrs:
with stdenv.lib;
let
pkg = self: buildRebar3 (attrs // {
src = fetchHex {
pkg = hexPkg;
inherit version;
inherit sha256;
};
});
in
fix pkg