1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/top-level/beam-packages.nix

100 lines
3.9 KiB
Nix
Raw Normal View History

{ pkgs, stdenv, callPackage, wxGTK30, darwin }:
rec {
interpreters = rec {
erlang = erlangR18;
erlang_odbc = erlangR18_odbc;
erlang_javac = erlangR18_javac;
erlang_odbc_javac = erlangR18_odbc_javac;
erlangR16 = callPackage ../development/interpreters/erlang/R16.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
};
erlangR16_odbc = callPackage ../development/interpreters/erlang/R16.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
odbcSupport = true;
};
erlang_basho_R16B02 = callPackage ../development/interpreters/erlang/R16B02-8-basho.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
};
erlang_basho_R16B02_odbc = callPackage ../development/interpreters/erlang/R16B02-8-basho.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
odbcSupport = true;
};
erlangR17 = callPackage ../development/interpreters/erlang/R17.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
};
erlangR17_odbc = callPackage ../development/interpreters/erlang/R17.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
odbcSupport = true;
};
erlangR17_javac = callPackage ../development/interpreters/erlang/R17.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
javacSupport = true;
};
erlangR17_odbc_javac = callPackage ../development/interpreters/erlang/R17.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
javacSupport = true; odbcSupport = true;
};
erlangR18 = callPackage ../development/interpreters/erlang/R18.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
wxGTK = wxGTK30;
};
erlangR18_odbc = callPackage ../development/interpreters/erlang/R18.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
wxGTK = wxGTK30;
odbcSupport = true;
};
erlangR18_javac = callPackage ../development/interpreters/erlang/R18.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
wxGTK = wxGTK30;
javacSupport = true;
};
erlangR18_odbc_javac = callPackage ../development/interpreters/erlang/R18.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
wxGTK = wxGTK30;
javacSupport = true; odbcSupport = true;
};
erlangR19 = callPackage ../development/interpreters/erlang/R19.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
wxGTK = wxGTK30;
};
erlangR19_odbc = callPackage ../development/interpreters/erlang/R19.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
wxGTK = wxGTK30;
odbcSupport = true;
};
erlangR19_javac = callPackage ../development/interpreters/erlang/R19.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
wxGTK = wxGTK30;
javacSupport = true;
};
erlangR19_odbc_javac = callPackage ../development/interpreters/erlang/R19.nix {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
wxGTK = wxGTK30;
javacSupport = true; odbcSupport = true;
};
elixir = callPackage ../development/interpreters/elixir { debugInfo = true; };
lfe = callPackage ../development/interpreters/lfe { };
};
packages = rec {
rebar = callPackage ../development/tools/build-managers/rebar { };
rebar3-open = callPackage ../development/tools/build-managers/rebar3 { hermeticRebar3 = false; };
rebar3 = callPackage ../development/tools/build-managers/rebar3 { hermeticRebar3 = true; };
hexRegistrySnapshot = callPackage ../development/beam-modules/hex-registry-snapshot.nix { };
fetchHex = callPackage ../development/beam-modules/fetch-hex.nix { };
beamPackages = callPackage ../development/beam-modules { };
hex2nix = beamPackages.callPackage ../development/tools/erlang/hex2nix { };
cuter = callPackage ../development/tools/erlang/cuter { };
relxExe = callPackage ../development/tools/erlang/relx-exe {};
};
}