From 9e9774ee89f3e84794e8bdd3496d75f822fd4e2f Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 16 Nov 2024 18:33:28 -0500 Subject: [PATCH] containerd: format with nixfmt --- pkgs/by-name/co/containerd/package.nix | 34 +++++++++++++++++--------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/co/containerd/package.nix b/pkgs/by-name/co/containerd/package.nix index ad2a338ba8fb..7e0f530f8a4e 100644 --- a/pkgs/by-name/co/containerd/package.nix +++ b/pkgs/by-name/co/containerd/package.nix @@ -1,12 +1,13 @@ -{ lib -, fetchFromGitHub -, buildGoModule -, btrfs-progs -, go-md2man -, installShellFiles -, util-linux -, nixosTests -, kubernetes +{ + lib, + btrfs-progs, + buildGoModule, + fetchFromGitHub, + go-md2man, + installShellFiles, + kubernetes, + nixosTests, + util-linux, }: buildGoModule rec { @@ -22,7 +23,11 @@ buildGoModule rec { vendorHash = null; - nativeBuildInputs = [ go-md2man installShellFiles util-linux ]; + nativeBuildInputs = [ + go-md2man + installShellFiles + util-linux + ]; buildInputs = [ btrfs-progs ]; @@ -43,14 +48,19 @@ buildGoModule rec { runHook postInstall ''; - passthru.tests = { inherit (nixosTests) docker; } // kubernetes.tests; + passthru.tests = { + inherit (nixosTests) docker; + } // kubernetes.tests; meta = with lib; { changelog = "https://github.com/containerd/containerd/releases/tag/${src.rev}"; homepage = "https://containerd.io/"; description = "Daemon to control runC"; license = licenses.asl20; - maintainers = with maintainers; [ offline vdemeester ]; + maintainers = with maintainers; [ + offline + vdemeester + ]; platforms = platforms.linux; }; }