3
0
Fork 0
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:
Eric Merritt 2016-01-09 15:42:28 -08:00
parent d541d0e640
commit b1719f9fcc
3 changed files with 3798 additions and 64 deletions

View file

@ -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 {

View file

@ -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