summary refs log tree commit diff
path: root/pkgs/tools/misc/azure-vhd-utils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/azure-vhd-utils/default.nix')
-rw-r--r--pkgs/tools/misc/azure-vhd-utils/default.nix27
1 files changed, 27 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;
+  };
+}
+