Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / beam-modules / build-hex.nix
blob1ebe3760ec8d4ef1997af41f2b128821be754045
1 { lib, buildRebar3, fetchHex }:
3 { name, version, sha256
4 , builder ? buildRebar3
5 , hexPkg ? name
6 , ... }@attrs:
8 with lib;
10 let
11   pkg = self: builder (attrs // {
13     src = fetchHex {
14       pkg = hexPkg;
15       inherit version;
16       inherit sha256;
17     };
18   });
20   fix pkg