nixpkgs-suyu/pkgs/development/beam-modules/build-hex.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
268 B
Nix
Raw Normal View History

{ lib, buildRebar3, fetchHex }:
2015-12-10 00:12:37 +01:00
{ name, version, sha256
, builder ? buildRebar3
, hexPkg ? name
2015-12-10 00:12:37 +01:00
, ... }@attrs:
let
pkg = self: builder (attrs // {
src = fetchHex {
pkg = hexPkg;
inherit version;
inherit sha256;
};
});
in
lib.fix pkg