{ stdenv, rustPlatform, cacert, git, cargo-vendor }: with rustPlatform; let fetchcargo = import ./fetchcargo.nix { inherit stdenv cacert git cargo-vendor; inherit (rust) cargo; }; adc2tcpDeps = fetchcargo { name = "adc2tcp-deps"; src = ../.; sha256 = "0071fn2gj976s20nv6wfjyi0ddcsq17sbpdxkfl0r5hwia5gixph"; }; in buildRustPackage rec { name = "adc2tcp"; version = "0.0.0"; src = ../.; cargoSha256 = "0071fn2gj976s20nv6wfjyi0ddcsq17sbpdxkfl0r5hwia5gixph"; buildInputs = [ adc2tcpDeps ]; patchPhase = '' cat >> .cargo/config <> $out/nix-support/hydra-build-products ''; }