{ pkgs ? import { } }: with pkgs; let agent_src = fetchgit { url = "https://gitea.rixxc.de/rixxc/x25519_agent.git"; rev = "201f270624487ded538b63cc5416456bd5b8ba18"; hash = "sha256-KPaKG+t3qSMy4Y7fd0PlBWZiZYcs7M1Clmn75emC9LU="; }; agent = callPackage "${agent_src}/default.nix" { }; in rustPlatform.buildRustPackage { name = "agent-harness"; src = nix-gitignore.gitignoreSource [ ] ./.; nativeBuildInputs = [ cargo rustc ]; buildInputs = [ agent ]; cargoSha256 = "sha256-ZgwQr1goz9yPws0P1eQwhHEv2WbcJeTCLEPYOUADOtE="; }