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

28 lines
722 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.4.0";
2020-03-16 21:58:57 +01:00
src = fetchFromGitHub {
owner = "sl1pm4t";
repo = "terraform-provider-lxd";
rev = "v${version}";
sha256 = "00gj7zj45wm9sf7a7nybjijdrdr00g2yf8h41c6j679a6nfnx0fd";
2020-03-16 21:58:57 +01:00
};
vendorSha256 = "0xq8zgx8h47pc88nkdvy5skpr8vk87b4212mm5msfxk8n7nl4fi2";
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 ];
};
}