zowoq 2023-04-12 13:46:08 +10:00
parent 43e91f57d5
commit 664877a563
2 changed files with 4 additions and 2656 deletions

File diff suppressed because it is too large Load diff

View file

@ -9,21 +9,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "netavark"; pname = "netavark";
version = "1.5.0"; version = "1.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-EuhnI7N8Ry6qV4q3QxdHdTuJ7F4gIA3a9NZnb33KWZ8="; hash = "sha256-USGmYLBv2ynnLx5jg+WkRle0AMtO7dDgf41VIepoHN0=";
}; };
cargoLock = { cargoHash = "sha256-zj1eE7f4/wSVe+78abMePqsIrCPl6Uhtavn8hq7+ZRY=";
lockFile = ./Cargo.lock;
outputHashes = {
"netavark_proxy-0.1.0" = "sha256-Rhnry2Y33ogpK1hQSyWD90BDzIJHzlgn8vtHu2t3KLw=";
};
};
nativeBuildInputs = [ installShellFiles mandown protobuf ]; nativeBuildInputs = [ installShellFiles mandown protobuf ];
@ -35,6 +30,7 @@ rustPlatform.buildRustPackage rec {
passthru.tests = { inherit (nixosTests) podman; }; passthru.tests = { inherit (nixosTests) podman; };
meta = with lib; { meta = with lib; {
changelog = "https://github.com/containers/netavark/releases/tag/${src.rev}";
description = "Rust based network stack for containers"; description = "Rust based network stack for containers";
homepage = "https://github.com/containers/netavark"; homepage = "https://github.com/containers/netavark";
license = licenses.asl20; license = licenses.asl20;