mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
aztfexport: init at 0.18.0 (#477376)
This commit is contained in:
commit
09d9627dbc
1 changed files with 42 additions and 0 deletions
42
pkgs/by-name/az/aztfexport/package.nix
Normal file
42
pkgs/by-name/az/aztfexport/package.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "aztfexport";
|
||||
version = "0.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "aztfexport";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-j6WdQvbxmHOMEfCvnFDxr9ZNOZg0BIOC6u1nw+n3hA0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qb4/sUjtfw/USITTLSuB2fXWR2mAuAcvbawrNA/ilRo=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-X main.version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Tool to bring existing Azure resources under Terraform's management";
|
||||
homepage = "https://github.com/Azure/aztfexport";
|
||||
changelog = "https://github.com/Azure/aztfexport/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = [ lib.maintainers.john-rodewald ];
|
||||
mainProgram = "aztfexport";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue