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