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:
parent
15fbb8e90a
commit
74e9b6441d
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user