1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/beam-modules/build-hex.nix

20 lines
265 B
Nix
Raw Normal View History

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