{ lib , rustPlatform , fetchFromGitHub , installShellFiles , mandown }: rustPlatform.buildRustPackage rec { pname = "netavark"; version = "1.3.0"; src = fetchFromGitHub { owner = "containers"; repo = pname; rev = "v${version}"; sha256 = "sha256-5LczayUgIJ2mcSiHKadegzTM8PvejAD0lhUlXO4Js30="; }; cargoHash = "sha256-gBdhdJD5EkkYNdpTNq+spySaoWnWViy9+bXTL7ps4PE="; nativeBuildInputs = [ installShellFiles mandown ]; postBuild = '' make -C docs installManPage docs/*.1 ''; meta = with lib; { description = "Rust based network stack for containers"; homepage = "https://github.com/containers/netavark"; license = licenses.asl20; maintainers = with maintainers; [ ] ++ teams.podman.members; platforms = platforms.linux; }; }