mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
containerd: use best practices
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user