summary refs log tree commit diff
path: root/pkgs/tools/misc/azure-vhd-utils
diff options
context:
space:
mode:
authorTristan Helmich <tristan.helmich@gmail.com>2016-11-03 11:14:55 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2016-11-10 02:06:55 +0100
commit34e04bf401f89d34ebcf6675e6be63603c2ccc1e (patch)
treee66937c6f31b03579375776f9ad428495ae7dd7a /pkgs/tools/misc/azure-vhd-utils
parent05d74cb857319dfbbf2561ebf6748586c958c2d4 (diff)
downloadnixpkgs-34e04bf401f89d34ebcf6675e6be63603c2ccc1e.tar
nixpkgs-34e04bf401f89d34ebcf6675e6be63603c2ccc1e.tar.gz
nixpkgs-34e04bf401f89d34ebcf6675e6be63603c2ccc1e.tar.bz2
nixpkgs-34e04bf401f89d34ebcf6675e6be63603c2ccc1e.tar.lz
nixpkgs-34e04bf401f89d34ebcf6675e6be63603c2ccc1e.tar.xz
nixpkgs-34e04bf401f89d34ebcf6675e6be63603c2ccc1e.tar.zst
nixpkgs-34e04bf401f89d34ebcf6675e6be63603c2ccc1e.zip
azure-vhd-utils: init at 20160614
Diffstat (limited to 'pkgs/tools/misc/azure-vhd-utils')
-rw-r--r--pkgs/tools/misc/azure-vhd-utils/default.nix27
-rw-r--r--pkgs/tools/misc/azure-vhd-utils/deps.nix29
2 files changed, 56 insertions, 0 deletions
diff --git a/pkgs/tools/misc/azure-vhd-utils/default.nix b/pkgs/tools/misc/azure-vhd-utils/default.nix
new file mode 100644
index 00000000000..fcdd9a81d72
--- /dev/null
+++ b/pkgs/tools/misc/azure-vhd-utils/default.nix
@@ -0,0 +1,27 @@
+# This file was generated by go2nix.
+{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
+
+buildGoPackage rec {
+  name = "azure-vhd-utils-${version}";
+  version = "20160614-${stdenv.lib.strings.substring 0 7 rev}";
+  rev = "070db2d701a462ca2edcf89d677ed3cac309d8e8";
+
+  goPackagePath = "github.com/Microsoft/azure-vhd-utils";
+
+  src = fetchgit {
+    inherit rev;
+    url = "https://github.com/Microsoft/azure-vhd-utils";
+    sha256 = "0b9kbavlb92rhnb1swwq8bdn4l9a994rmf1ywyfq4yc0kd3gnhgh";
+  };
+
+  goDeps = ./deps.nix;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/Microsoft/azure-vhd-utils;
+    description = "Read, inspect and upload VHD files for Azure";
+    longDescription = "Go package to read Virtual Hard Disk (VHD) file, a CLI interface to upload local VHD to Azure storage and to inspect a local VHD";
+    license = licenses.mit;
+    platforms = platforms.unix;
+  };
+}
+
diff --git a/pkgs/tools/misc/azure-vhd-utils/deps.nix b/pkgs/tools/misc/azure-vhd-utils/deps.nix
new file mode 100644
index 00000000000..d07af99d5e5
--- /dev/null
+++ b/pkgs/tools/misc/azure-vhd-utils/deps.nix
@@ -0,0 +1,29 @@
+[
+  {
+    goPackagePath = "github.com/Azure/azure-sdk-for-go";
+    fetch = {
+      type = "git";
+      url = "https://github.com/Azure/azure-sdk-for-go";
+      rev = "0884ebb4c8e7c980527348a4d134a65286042afc";
+      sha256 = "0ixsq409akq1ff12352kp5gkbh370rpbw0m0pbwjr42cqvnzs9k0";
+    };
+  }
+  {
+    goPackagePath = "github.com/Microsoft/azure-vhd-utils-for-go";
+    fetch = {
+      type = "git";
+      url = "https://github.com/Microsoft/azure-vhd-utils-for-go";
+      rev = "070db2d701a462ca2edcf89d677ed3cac309d8e8";
+      sha256 = "0b9kbavlb92rhnb1swwq8bdn4l9a994rmf1ywyfq4yc0kd3gnhgh";
+    };
+  }
+  {
+    goPackagePath = "github.com/codegangsta/cli";
+    fetch = {
+      type = "git";
+      url = "https://github.com/codegangsta/cli";
+      rev = "f614c177b70c0f0e92c368d623c8770bf337c5d6";
+      sha256 = "1l70f07v0dsp2k2pm0lmr42fp4y72j1g0czf4fkxwhvgbly3al98";
+    };
+  }
+]