2020-04-21 00:28:17 +01:00
|
|
|
{ lib, 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";
|
2020-07-02 08:19:28 +01:00
|
|
|
version = "0.8.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}";
|
2020-07-02 08:19:28 +01:00
|
|
|
sha256 = "16i59dhiq7pc7qs32cdk4yv4w9rjx4vvlw7fb6a6jhq6hxxjrgiw";
|
2016-11-16 15:29:35 +00:00
|
|
|
};
|
|
|
|
|
2018-12-20 07:22:13 +00:00
|
|
|
goPackagePath = "github.com/containernetworking/cni";
|
2020-04-21 00:28:17 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2016-11-16 15:29:35 +00:00
|
|
|
description = "Container Network Interface - networking for Linux containers";
|
|
|
|
license = licenses.asl20;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/containernetworking/cni";
|
2018-12-20 07:22:13 +00:00
|
|
|
maintainers = with maintainers; [ offline vdemeester ];
|
2020-07-03 08:19:56 +01:00
|
|
|
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
2016-11-16 15:29:35 +00:00
|
|
|
};
|
|
|
|
}
|