terraform-providers.gandi: init at 1.0.0 (#48223)
This commit is contained in:
parent
c81ca5491f
commit
e4f8d5c254
@ -22,6 +22,7 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
gandi = callPackage ./gandi {};
|
||||||
ibm = callPackage ./ibm {};
|
ibm = callPackage ./ibm {};
|
||||||
libvirt = callPackage ./libvirt {};
|
libvirt = callPackage ./libvirt {};
|
||||||
} // lib.mapAttrs (n: v: toDrv v) list
|
} // lib.mapAttrs (n: v: toDrv v) list
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "terraform-provider-gandi-${version}";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/tiramiseb/terraform-provider-gandi";
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tiramiseb";
|
||||||
|
repo = "terraform-provider-gandi";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0byydpqsimvnk11bh9iz8zlxbsmsk65w55pvkp18vjzqrhf4kyfv";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Terraform allow checking the provider versions, but this breaks
|
||||||
|
# if the versions are not provided via file paths.
|
||||||
|
postBuild = "mv go/bin/terraform-provider-gandi{,_v${version}}";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Terraform provider for the Gandi LiveDNS service.";
|
||||||
|
homepage = "https://github.com/tiramiseb/terraform-provider-gandi";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = with maintainers; [ manveru ];
|
||||||
|
};
|
||||||
|
}
|
21
pkgs/applications/networking/cluster/terraform-providers/gandi/deps.nix
generated
Normal file
21
pkgs/applications/networking/cluster/terraform-providers/gandi/deps.nix
generated
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/hashicorp/terraform";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/hashicorp/terraform";
|
||||||
|
rev = "27b720113ed5143a870ec151b3b7c9d955a09bc0";
|
||||||
|
sha256 = "1f0hwdf2z68p0ll3pgrx949h09q52gcfaxap0zz52m7px98sfab4";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/tiramiseb/go-gandi-livedns";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/tiramiseb/go-gandi-livedns";
|
||||||
|
rev = "4773a84f8ee7365ed21edc6cd0602aaf93e94e59";
|
||||||
|
sha256 = "1i8s7yclrkhf974vs2splh5symzk0ym54px0bc216bq4ifzkwkqc";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user