forked from mirrors/nixpkgs
erlang support: Add 187 packages pulled from Hex
This commit adds 187 packages from Hex.pm and documents 100 more that could not be imported for various reasons. The packages where generated by hex2nix.
This commit is contained in:
parent
d541d0e640
commit
b1719f9fcc
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, writeText, erlang, rebar3, openssl, libyaml, fetchHex, fetchFromGitHub,
|
{ stdenv, writeText, erlang, rebar3, openssl, libyaml, fetchHex, fetchFromGitHub,
|
||||||
rebar3-pc, buildEnv }:
|
pc, buildEnv }:
|
||||||
|
|
||||||
{ name, version
|
{ name, version
|
||||||
, src
|
, src
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
plugins = pluginDeps ++ (if compilePorts then [rebar3-pc] else []);
|
plugins = pluginDeps ++ (if compilePorts then [pc] else []);
|
||||||
|
|
||||||
|
|
||||||
shell = drv: stdenv.mkDerivation {
|
shell = drv: stdenv.mkDerivation {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs }: #? import <nixpkgs> {} }:
|
{ stdenv, pkgs }: #? import <nixpkgs> {} }:
|
||||||
|
|
||||||
let
|
let
|
||||||
self = rec {
|
self = rec {
|
||||||
hex = import ./hex-packages.nix { callPackage = self.callPackage; };
|
hex = import ./hex-packages.nix { stdenv = stdenv; callPackage = self.callPackage; };
|
||||||
callPackage = pkgs.lib.callPackageWith (pkgs // self // hex);
|
callPackage = pkgs.lib.callPackageWith (pkgs // self // hex);
|
||||||
|
|
||||||
buildRebar3 = callPackage ./build-rebar3.nix {};
|
buildRebar3 = callPackage ./build-rebar3.nix {};
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue