3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/terraform-providers/keycloak/default.nix
zimbatm 3f49e5ba03
terraform-providers.keycloak: use pname
We will be relying on the pname to figure out where to link the plugin.
2020-10-09 12:43:13 +02:00

31 lines
733 B
Nix

{ stdenv
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "terraform-provider-keycloak";
version = "1.20.0";
src = fetchFromGitHub {
owner = "mrparkers";
repo = "terraform-provider-keycloak";
rev = version;
sha256 = "1h8780k8345pf0s14k1pmwdjbv2j08h4rq3jwds81mmv6qgj1r2n";
};
vendorSha256 = "12iary7p5qsbl4xdhfd1wh92mvf2fiylnb3m1d3m7cdcn32rfimq";
doCheck = false;
postInstall = "mv $out/bin/terraform-provider-keycloak{,_v${version}}";
meta = with stdenv.lib; {
description = "Terraform provider for keycloak";
homepage = "https://github.com/mrparkers/terraform-provider-keycloak";
license = licenses.mpl20;
maintainers = with maintainers; [ eonpatapon ];
};
}