terraform-providers.acme: 1.5.0-patched -> 2.4.0

and move to upstream source
launchpad/nixpkgs/master
arcnmx 3 years ago
parent 239da47116
commit 5a9129160d
  1. 11
      pkgs/applications/networking/cluster/terraform-providers/default.nix
  2. 11
      pkgs/applications/networking/cluster/terraform-providers/providers.json

@ -2,6 +2,7 @@
, buildGoModule
, buildGoPackage
, fetchFromGitHub
, fetchpatch
, callPackage
}:
let
@ -46,10 +47,12 @@ let
# These are the providers that don't fall in line with the default model
special-providers = {
acme = automated-providers.acme.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-acme getstackhead/terraform-provider-acme
substituteInPlace main.go --replace terraform-providers/terraform-provider-acme getstackhead/terraform-provider-acme
'';
patches = attrs.patches or [ ] ++ [
(fetchpatch {
url = "https://github.com/vancluever/terraform-provider-acme/commit/a5834747aebc3677225c68a08ef784cfd7b35e6c.patch";
sha256 = "091484whrpq6ykpgpndc8kc9cbvd9wwr0b51m1yxp31750lydp8m";
})
];
});
# Packages that don't fit the default model

@ -7,12 +7,13 @@
"version": "0.2.3"
},
"acme": {
"owner": "getstackhead",
"provider-source-address": "registry.terraform.io/getstackhead/acme",
"owner": "vancluever",
"provider-source-address": "registry.terraform.io/vancluever/acme",
"repo": "terraform-provider-acme",
"rev": "v1.5.0-patched",
"sha256": "1wdrjpd3l0xadsa3lqhsc9c57g8x2qkwb76q824sk8za1a7lapii",
"version": "1.5.0-patched"
"rev": "v2.4.0",
"sha256": "0r7i55gdscw94b954nfkvgfsrw7piq63gp06vh9smrwax9i2xc2f",
"vendorSha256": "09zmw2xm5fwwsa9bqwscq0s67hlxjk2kd3j02ayr4mxzhaagh1z9",
"version": "2.4.0"
},
"akamai": {
"owner": "terraform-providers",

Loading…
Cancel
Save