2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildRebar3, fetchHex }:
|
2015-12-09 23:12:37 +00:00
|
|
|
|
2016-01-10 23:25:45 +00:00
|
|
|
{ name, version, sha256
|
2017-06-17 14:28:41 +00:00
|
|
|
, builder ? buildRebar3
|
2015-12-10 20:39:13 +00:00
|
|
|
, hexPkg ? name
|
2015-12-09 23:12:37 +00:00
|
|
|
, ... }@attrs:
|
|
|
|
|
2015-12-18 22:51:51 +00:00
|
|
|
let
|
2017-06-17 14:28:41 +00:00
|
|
|
pkg = self: builder (attrs // {
|
2016-01-10 22:48:44 +00:00
|
|
|
|
2016-01-10 23:25:45 +00:00
|
|
|
src = fetchHex {
|
2015-12-18 22:51:51 +00:00
|
|
|
pkg = hexPkg;
|
|
|
|
inherit version;
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
in
|
2023-01-26 17:31:02 +00:00
|
|
|
lib.fix pkg
|