Merge pull request #46924 from colemickens/azcopy

azcopy: init at 10.0.1
This commit is contained in:
Sarah Brofeldt 2018-09-25 10:17:43 +02:00 committed by GitHub
commit 0260747427
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 154 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
name = "azure-storage-azcopy-${version}";
version = "10.0.1-pre";
revision = "10.0.1";
goPackagePath = "github.com/Azure/azure-storage-azcopy";
goDeps= ./deps.nix;
src = fetchFromGitHub {
owner = "Azure";
repo = "azure-storage-azcopy";
rev = revision;
sha256 = "0v1qli01nnx81186q1d2556w457qkbwypq6yy89ns52pqg941arp";
};
meta = with stdenv.lib; {
maintainers = with maintainers; [ colemickens ];
license = licenses.mit;
description = "The new Azure Storage data transfer utility - AzCopy v10";
};
}

129
pkgs/development/tools/azcopy/deps.nix generated Normal file
View file

@ -0,0 +1,129 @@
# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
[
{
goPackagePath = "github.com/Azure/azure-pipeline-go";
fetch = {
type = "git";
url = "https://github.com/Azure/azure-pipeline-go";
rev = "7571e8eb0876932ab505918ff7ed5107773e5ee2";
sha256 = "0i8n7jna9prq3zdbj0bsr1ha271lgg9233n71dw8li5qsiyg8bs2";
};
}
{
goPackagePath = "github.com/Azure/azure-storage-blob-go";
fetch = {
type = "git";
url = "https://github.com/Azure/azure-storage-blob-go";
rev = "197d1c0aea1b9eedbbaee0a1a32bf81e879bde80";
sha256 = "0wslfah8x1i5l98ss4wxv47ddxfp8mbc90cnfi81v7qnf0bpjp2g";
};
}
{
goPackagePath = "github.com/Azure/azure-storage-file-go";
fetch = {
type = "git";
url = "https://github.com/Azure/azure-storage-file-go";
rev = "9227fd295d972e4395fd601e6f48cee2f5cda02b";
sha256 = "0sr5iqiddjs2lnma5ixrrdik9zciqqd74priivvpycgi3cyxyxyn";
};
}
{
goPackagePath = "github.com/Azure/go-autorest";
fetch = {
type = "git";
url = "https://github.com/Azure/go-autorest";
rev = "39013ecb48eaf6ced3f4e3e1d95515140ce6b3cf";
sha256 = "1cbf1ay68lghr4swy2a0asfcjpzkamvz1cqxpdm6691b76j2x6cm";
};
}
{
goPackagePath = "github.com/JeffreyRichter/enum";
fetch = {
type = "git";
url = "https://github.com/JeffreyRichter/enum";
rev = "2567042f9cda26772f0afe08bab6e5105745f298";
sha256 = "1d2sjjlp0r2ynk1fb3sb7dgbqzbq4czipb7ffm9zdmjbz0gp6crr";
};
}
{
goPackagePath = "github.com/dgrijalva/jwt-go";
fetch = {
type = "git";
url = "https://github.com/dgrijalva/jwt-go";
rev = "06ea1031745cb8b3dab3f6a236daf2b0aa468b7e";
sha256 = "08m27vlms74pfy5z79w67f9lk9zkx6a9jd68k3c4msxy75ry36mp";
};
}
{
goPackagePath = "github.com/inconshreveable/mousetrap";
fetch = {
type = "git";
url = "https://github.com/inconshreveable/mousetrap";
rev = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75";
sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
};
}
{
goPackagePath = "github.com/jiacfan/keychain";
fetch = {
type = "git";
url = "https://github.com/jiacfan/keychain";
rev = "55285221316b0547171a4258015906e3a4da4721";
sha256 = "0nfpmqmj33953awysp1948y6k28cmh4770q0i60jv88k35p10s56";
};
}
{
goPackagePath = "github.com/jiacfan/keyctl";
fetch = {
type = "git";
url = "https://github.com/jiacfan/keyctl";
rev = "988d05162bc59cf7789c35af405be8f1599a87a3";
sha256 = "1q4svv9z3s3n2x4ff8cyr53g5ln1yfrcmc3bvznhhwq190dhm94c";
};
}
{
goPackagePath = "github.com/kr/pretty";
fetch = {
type = "git";
url = "https://github.com/kr/pretty";
rev = "73f6ac0b30a98e433b289500d779f50c1a6f0712";
sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
};
}
{
goPackagePath = "github.com/kr/text";
fetch = {
type = "git";
url = "https://github.com/kr/text";
rev = "e2ffdb16a802fe2bb95e2e35ff34f0e53aeef34f";
sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
};
}
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
rev = "ef82de70bb3f60c65fb8eebacbb2d122ef517385";
sha256 = "1q1nsx05svyv9fv3fy6xv6gs9ffimkyzsfm49flvl3wnvf1ncrkd";
};
}
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
rev = "9a97c102cda95a86cec2345a6f09f55a939babf5";
sha256 = "005598piihl3l83a71ahj10cpq9pbhjck4xishx1b4dzc02r9xr2";
};
}
{
goPackagePath = "gopkg.in/check.v1";
fetch = {
type = "git";
url = "https://github.com/go-check/check";
rev = "788fd78401277ebd861206a03c884797c6ec5541";
sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
};
}
]

View file

@ -597,6 +597,8 @@ with pkgs;
azure-cli = nodePackages.azure-cli;
azure-storage-azcopy = callPackage ../development/tools/azcopy { };
azure-vhd-utils = callPackage ../tools/misc/azure-vhd-utils { };
awless = callPackage ../tools/virtualization/awless { };