containerd: use best practices

This commit is contained in:
seth
2024-11-16 20:36:59 -05:00
parent 5db7ee7410
commit 7d3a899c10

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "containerd";
repo = "containerd";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-DFAP+zjBYP2SpyD8KXGvI3i/PUZ6d4jdzGyFfr1lzj4=";
};
@@ -24,6 +24,8 @@ buildGoModule rec {
vendorHash = null;
strictDeps = true;
nativeBuildInputs = [
go-md2man
util-linux
@@ -63,15 +65,15 @@ buildGoModule rec {
inherit (nixosTests) docker;
} // kubernetes.tests;
meta = with lib; {
changelog = "https://github.com/containerd/containerd/releases/tag/${src.rev}";
homepage = "https://containerd.io/";
meta = {
description = "Daemon to control runC";
license = licenses.asl20;
maintainers = with maintainers; [
homepage = "https://containerd.io/";
changelog = "https://github.com/containerd/containerd/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
offline
vdemeester
];
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}