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, lib, fetchFromGitHub, go, removeReferencesTo }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cni-plugins-${version}";
|
pname = "cni-plugins";
|
||||||
version = "0.7.5";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containernetworking";
|
owner = "containernetworking";
|
||||||
repo = "plugins";
|
repo = "plugins";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1kfi0iz2hs4rq3cdkw12j8d47ac4f5vrpzcwcrs2yzmh2j4n5sz5";
|
sha256 = "1jmdjfwjgh6368wwdpfpjm708b0kl38cyc87wqp2f0y9mvvws8ni";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ removeReferencesTo go ];
|
buildInputs = [ removeReferencesTo go ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
patchShebangs build.sh
|
patchShebangs build_linux.sh
|
||||||
export "GOCACHE=$TMPDIR/go-cache"
|
export "GOCACHE=$TMPDIR/go-cache"
|
||||||
./build.sh
|
./build_linux.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user