at 23.05-pre 30 lines 732 B view raw
1{ stdenv, lib, fetchFromGitHub, buildGoModule }: 2 3buildGoModule rec { 4 pname = "azure-storage-azcopy"; 5 version = "10.16.0"; 6 7 src = fetchFromGitHub { 8 owner = "Azure"; 9 repo = "azure-storage-azcopy"; 10 rev = "v${version}"; 11 sha256 = "sha256-FLrYovepVOE1NUB46Kc8z/l5o6IMFbJyY3smxPyuIsI="; 12 }; 13 14 subPackages = [ "." ]; 15 16 vendorSha256 = "sha256-OlsNFhduilo8fJs/mynrAiwuXcfCZERdaJk3VcAUCJw="; 17 18 doCheck = false; 19 20 postInstall = '' 21 ln -rs "$out/bin/azure-storage-azcopy" "$out/bin/azcopy" 22 ''; 23 24 meta = with lib; { 25 broken = stdenv.isDarwin; 26 maintainers = with maintainers; [ colemickens ]; 27 license = licenses.mit; 28 description = "The new Azure Storage data transfer utility - AzCopy v10"; 29 }; 30}