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.
This commit is contained in:
Will Dietz 2019-06-01 02:02:41 -05:00
parent 15fbb8e90a
commit 74e9b6441d
No known key found for this signature in database
GPG key ID: EBB0EA4124809D02

View file

@ -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 = ''