mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 04:03:04 +00:00
4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
28 lines
872 B
Nix
28 lines
872 B
Nix
# This file was generated by go2nix.
|
|
{ lib, stdenv, buildGoPackage, fetchgit }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "azure-vhd-utils";
|
|
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 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;
|
|
};
|
|
}
|
|
|