Merge pull request #199635 from aaronjheng/cni

cni: 0.8.1 -> 1.1.2
This commit is contained in:
Mario Rodas 2022-11-05 16:28:17 -05:00 committed by GitHub
commit 4328e01447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,23 @@
{ lib, fetchFromGitHub, buildGoPackage }:
{ lib, fetchFromGitHub, buildGoModule }:
buildGoPackage rec {
buildGoModule rec {
pname = "cni";
version = "0.8.1";
version = "1.1.2";
src = fetchFromGitHub {
owner = "containernetworking";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vxwNHIc3rFi7HKIEZrBcr7Oxs2iUtFYcfJK7aXDUv3k=";
sha256 = "sha256-g7fVeoqquxPa17AfTu6wnB6PQJDluJ21T3ETrcvWtWg=";
};
goPackagePath = "github.com/containernetworking/cni";
vendorSha256 = "sha256-nH/myA/KdTeFXvmBymXITyx5fdCGnWRn6hNRinXc3/s=";
subPackages = [
"./cnitool"
];
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Container Network Interface - networking for Linux containers";