nixpkgs-suyu/pkgs/applications/networking/cluster/terraform/providers/default.nix
zimbatm 101ccc0629 terraform: providers list (#28818)
* terraform: move plugin index

* terraform: introduce update script for plugins

* terraform: update provider list
2017-09-01 15:49:24 +01:00

12 lines
343 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
let
list = import ./data.nix;
toDrv = _: data:
buildGoPackage rec {
inherit (data) pname version;
name = "${pname}-${version}";
goPackagePath = "github.com/${data.src.owner}/${data.src.repo}";
src = fetchFromGitHub data.src;
};
in
lib.mapAttrs toDrv list