2020-04-21 01:28:17 +02:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
2016-11-16 16:29:35 +01:00
|
|
|
|
2018-12-20 08:22:13 +01:00
|
|
|
buildGoPackage rec {
|
2019-06-01 09:01:33 +02:00
|
|
|
pname = "cni";
|
2020-04-21 01:28:17 +02:00
|
|
|
version = "0.7.1";
|
2016-11-16 16:29:35 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containernetworking";
|
2019-06-01 09:01:33 +02:00
|
|
|
repo = pname;
|
2016-11-16 16:29:35 +01:00
|
|
|
rev = "v${version}";
|
2020-04-21 01:28:17 +02:00
|
|
|
sha256 = "02qn1br8164d99978acalisy1sx294g1axnii4yh1wji0fc735xz";
|
2016-11-16 16:29:35 +01:00
|
|
|
};
|
|
|
|
|
2018-12-20 08:22:13 +01:00
|
|
|
goPackagePath = "github.com/containernetworking/cni";
|
2020-04-21 01:28:17 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2016-11-16 16:29:35 +01:00
|
|
|
description = "Container Network Interface - networking for Linux containers";
|
|
|
|
license = licenses.asl20;
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/containernetworking/cni";
|
2018-12-20 08:22:13 +01:00
|
|
|
maintainers = with maintainers; [ offline vdemeester ];
|
2016-11-16 16:29:35 +01:00
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|