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
3 changed files with 3798 additions and 64 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, writeText, erlang, rebar3, openssl, libyaml, fetchHex, fetchFromGitHub,
|
||||
rebar3-pc, buildEnv }:
|
||||
pc, buildEnv }:
|
||||
|
||||
{ name, version
|
||||
, src
|
||||
|
@ -13,7 +13,7 @@
|
|||
with stdenv.lib;
|
||||
|
||||
let
|
||||
plugins = pluginDeps ++ (if compilePorts then [rebar3-pc] else []);
|
||||
plugins = pluginDeps ++ (if compilePorts then [pc] else []);
|
||||
|
||||
|
||||
shell = drv: stdenv.mkDerivation {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs }: #? import <nixpkgs> {} }:
|
||||
{ stdenv, pkgs }: #? import <nixpkgs> {} }:
|
||||
|
||||
let
|
||||
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);
|
||||
|
||||
buildRebar3 = callPackage ./build-rebar3.nix {};
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue