2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildRebar3, fetchHex }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
{ name, version, sha256
|
|
|
|
, builder ? buildRebar3
|
|
|
|
, hexPkg ? name
|
|
|
|
, ... }@attrs:
|
|
|
|
|
|
|
|
let
|
|
|
|
pkg = self: builder (attrs // {
|
|
|
|
|
|
|
|
src = fetchHex {
|
|
|
|
pkg = hexPkg;
|
|
|
|
inherit version;
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
in
|
2023-02-02 18:25:31 +00:00
|
|
|
lib.fix pkg
|