depot/third_party/nixpkgs/pkgs/development/tools/azcopy/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

30 lines
730 B
Nix

{ stdenv, lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "azure-storage-azcopy";
version = "10.17.0";
src = fetchFromGitHub {
owner = "Azure";
repo = "azure-storage-azcopy";
rev = "v${version}";
sha256 = "sha256-a25MA/fDjCvsKzEh34IM34TyXECJ0j07H9jr6JX1uc0=";
};
subPackages = [ "." ];
vendorHash = "sha256-Cb4RVY+E8QcvxSworBujsvqSSGxFGfW0W7nFjmpfLQ8=";
doCheck = false;
postInstall = ''
ln -rs "$out/bin/azure-storage-azcopy" "$out/bin/azcopy"
'';
meta = with lib; {
broken = stdenv.isDarwin;
maintainers = with maintainers; [ colemickens ];
license = licenses.mit;
description = "The new Azure Storage data transfer utility - AzCopy v10";
};
}