azure-vhd-utils: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-08 15:28:29 +01:00
parent 8e9dcca200
commit 0aed0348ef

View file

@ -1,17 +1,16 @@
# This file was generated by go2nix. { lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchgit }:
buildGoPackage rec { buildGoPackage rec {
pname = "azure-vhd-utils"; pname = "azure-vhd-utils";
version = "20160614-${lib.strings.substring 0 7 rev}"; version = "unstable-2016-06-14";
rev = "070db2d701a462ca2edcf89d677ed3cac309d8e8";
goPackagePath = "github.com/Microsoft/azure-vhd-utils"; goPackagePath = "github.com/Microsoft/azure-vhd-utils";
src = fetchgit { src = fetchFromGitHub {
inherit rev; owner = "Microsoft";
url = "https://github.com/Microsoft/azure-vhd-utils"; repo = "azure-vhd-utils";
sha256 = "0b9kbavlb92rhnb1swwq8bdn4l9a994rmf1ywyfq4yc0kd3gnhgh"; rev = "070db2d701a462ca2edcf89d677ed3cac309d8e8";
sha256 = "sha256-8EH7RpuAeYKd5z64mklKKlFi20KYcx2WhVmkRbdaMy0=";
}; };
goDeps = ./deps.nix; goDeps = ./deps.nix;