diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2017-09-12 17:30:35 -0400 |
---|---|---|
committer | Will Fancher <elvishjerricco@gmail.com> | 2017-09-12 17:30:35 -0400 |
commit | dbd500937644c2deae4a2c7a59f4a11a006bf1d0 (patch) | |
tree | 7b95396adec2cea51196e6d4218ca9c85a85732f /pkgs/development/beam-modules/default.nix | |
parent | 4d860389d88d35a702f79c0567cb4c6b1ec0deda (diff) | |
parent | 734788b71da12826520e1e4322323b955bdf2eee (diff) | |
download | nixpkgs-dbd500937644c2deae4a2c7a59f4a11a006bf1d0.tar nixpkgs-dbd500937644c2deae4a2c7a59f4a11a006bf1d0.tar.gz nixpkgs-dbd500937644c2deae4a2c7a59f4a11a006bf1d0.tar.bz2 nixpkgs-dbd500937644c2deae4a2c7a59f4a11a006bf1d0.tar.lz nixpkgs-dbd500937644c2deae4a2c7a59f4a11a006bf1d0.tar.xz nixpkgs-dbd500937644c2deae4a2c7a59f4a11a006bf1d0.tar.zst nixpkgs-dbd500937644c2deae4a2c7a59f4a11a006bf1d0.zip |
Merge branch 'master' into improved-make-overridable
Diffstat (limited to 'pkgs/development/beam-modules/default.nix')
-rw-r--r-- | pkgs/development/beam-modules/default.nix | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/pkgs/development/beam-modules/default.nix b/pkgs/development/beam-modules/default.nix index 74079e82ea1..95fe683cd1e 100644 --- a/pkgs/development/beam-modules/default.nix +++ b/pkgs/development/beam-modules/default.nix @@ -15,6 +15,8 @@ let inherit callPackage erlang; beamPackages = self; + hexRegistrySnapshot = callPackage ./hex-registry-snapshot.nix { }; + rebar = callPackage ../tools/build-managers/rebar { }; rebar3-open = callPackage ../tools/build-managers/rebar3 { hermeticRebar3 = false; @@ -23,7 +25,10 @@ let hermeticRebar3 = true; }; - hexRegistrySnapshot = callPackage ./hex-registry-snapshot.nix { }; + # rebar3 port compiler plugin is required by buildRebar3 + pc_1_6_0 = callPackage ./pc {}; + pc = pc_1_6_0; + fetchHex = callPackage ./fetch-hex.nix { }; buildRebar3 = callPackage ./build-rebar3.nix {}; @@ -52,12 +57,35 @@ let lfe = lfe_1_2; lfe_1_2 = lib.callLFE ../interpreters/lfe/1.2.nix { inherit erlang buildRebar3 buildHex; }; - # Non hex packages + # We list all base hex packages for beam tooling explicitly to ensure + # tha the tooling does not break during hex-packages.nix updates. + erlware_commons_1_0_0 = buildHex { + name = "erlware_commons"; + version = "1.0.0"; + sha256 = "0wkphbrjk19lxdwndy92v058qwcaz13bcgdzp33h21aa7vminzx7"; + beamDeps = [ cf_0_2_2 ]; + }; + cf_0_2_2 = buildHex { + name = "cf"; + version = "0.2.2"; + sha256 = "08cvy7skn5d2k4manlx5k3anqgjdvajjhc5jwxbaszxw34q3na28"; + }; + getopt_0_8_2 = buildHex { + name = "getopt"; + version = "0.8.2"; + sha256 = "1xw30h59zbw957cyjd8n50hf9y09jnv9dyry6x3avfwzcyrnsvkk"; + }; + + # Non hex packages. Examples how to build Rebar/Mix packages with and + # without helper functions buildRebar3 and buildMix. hex = callPackage ./hex {}; webdriver = callPackage ./webdriver {}; + relxExe = callPackage ../tools/erlang/relx-exe {}; + # The tool used to upgrade hex-packages.nix. hex2nix = callPackage ../tools/erlang/hex2nix {}; + + # An example of Erlang/C++ package. cuter = callPackage ../tools/erlang/cuter {}; - relxExe = callPackage ../tools/erlang/relx-exe {}; }; in makeExtensible packages |