1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/development/beam-modules/build-hex.nix
2016-04-23 19:03:24 -07:00

20 lines
265 B
Nix

{ 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