From 74e9b6441da581593ae01397f08df9cb274f5405 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sat, 1 Jun 2019 02:02:41 -0500 Subject: [PATCH] cni-plugins: 0.7.5 -> 0.8.0 https://github.com/containernetworking/plugins/releases/tag/v0.8.0 Maybe need to improve script invocation for other platforms, but for now we limit to linux so keep it simple. --- pkgs/applications/networking/cluster/cni/plugins.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/cluster/cni/plugins.nix b/pkgs/applications/networking/cluster/cni/plugins.nix index fdefa48adba..f8c4d755dbb 100644 --- a/pkgs/applications/networking/cluster/cni/plugins.nix +++ b/pkgs/applications/networking/cluster/cni/plugins.nix @@ -1,22 +1,22 @@ { stdenv, lib, fetchFromGitHub, go, removeReferencesTo }: stdenv.mkDerivation rec { - name = "cni-plugins-${version}"; - version = "0.7.5"; + pname = "cni-plugins"; + version = "0.8.0"; src = fetchFromGitHub { owner = "containernetworking"; repo = "plugins"; rev = "v${version}"; - sha256 = "1kfi0iz2hs4rq3cdkw12j8d47ac4f5vrpzcwcrs2yzmh2j4n5sz5"; + sha256 = "1jmdjfwjgh6368wwdpfpjm708b0kl38cyc87wqp2f0y9mvvws8ni"; }; buildInputs = [ removeReferencesTo go ]; buildPhase = '' - patchShebangs build.sh + patchShebangs build_linux.sh export "GOCACHE=$TMPDIR/go-cache" - ./build.sh + ./build_linux.sh ''; installPhase = ''