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, fetchgit }:
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "azure-vhd-utils";
version = "20160614-${lib.strings.substring 0 7 rev}";
rev = "070db2d701a462ca2edcf89d677ed3cac309d8e8";
version = "unstable-2016-06-14";
goPackagePath = "github.com/Microsoft/azure-vhd-utils";
src = fetchgit {
inherit rev;
url = "https://github.com/Microsoft/azure-vhd-utils";
sha256 = "0b9kbavlb92rhnb1swwq8bdn4l9a994rmf1ywyfq4yc0kd3gnhgh";
src = fetchFromGitHub {
owner = "Microsoft";
repo = "azure-vhd-utils";
rev = "070db2d701a462ca2edcf89d677ed3cac309d8e8";
sha256 = "sha256-8EH7RpuAeYKd5z64mklKKlFi20KYcx2WhVmkRbdaMy0=";
};
goDeps = ./deps.nix;