nixpkgs-suyu/pkgs/applications/networking/cluster/terraform-providers/lxd/default.nix

28 lines
720 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-03-16 21:58:57 +01:00
buildGoModule rec {
pname = "terraform-provider-lxd";
version = "1.5.0";
2020-03-16 21:58:57 +01:00
src = fetchFromGitHub {
owner = "sl1pm4t";
repo = "terraform-provider-lxd";
rev = "v${version}";
sha256 = "sha256-ikI8LQ6qawdeUSb1Ee03H409DQw2M4QtsIxAESxXNRI=";
2020-03-16 21:58:57 +01:00
};
vendorSha256 = "sha256-IjpC7bFodqdrqVUEQdZBc6N8py5+t2kRYvcQiPr7CHc=";
2020-03-16 21:58:57 +01:00
doCheck = false;
2020-03-16 21:58:57 +01:00
postBuild = "mv ../go/bin/terraform-provider-lxd{,_v${version}}";
meta = with lib; {
2020-03-16 21:58:57 +01:00
homepage = "https://github.com/sl1pm4t/terraform-provider-lxd";
description = "Terraform provider for lxd";
platforms = platforms.linux;
license = licenses.mpl20;
maintainers = with maintainers; [ gila ];
};
}