diff --git a/pkgs/by-name/no/nono/package.nix b/pkgs/by-name/no/nono/package.nix new file mode 100644 index 000000000000..eb95be89a79b --- /dev/null +++ b/pkgs/by-name/no/nono/package.nix @@ -0,0 +1,44 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + + pkg-config, + + dbus, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "nono"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "always-further"; + repo = "nono"; + tag = "v${finalAttrs.version}"; + hash = "sha256-siZK9ELU5RsX2Dc1T8LpOFNVR0Qo3xJ2LfIrqb6abSk="; + }; + + cargoHash = "sha256-3xuZMXX9YTHY4HsFuOdzbykqOVH/PWuFyLhPbl7baqY="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + dbus + ]; + + meta = { + description = "Secure, kernel-enforced sandbox for AI agents, MCP and LLM workloads"; + homepage = "https://github.com/always-further/nono"; + changelog = "https://github.com/always-further/nono/blob/${finalAttrs.src.rev}/CHANGELOG.md"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ + jk + ]; + mainProgram = "nono"; + # https://github.com/always-further/nono#platform-support + platforms = lib.platforms.linux ++ lib.platforms.darwin; + }; +})