{ lib , rustPlatform , stdenv , pkg-config , openssl }: let src = lib.cleanSourceWith { src = ../../.; filter = path: type: let base = baseNameOf path; in !(base == "target" || base == ".git" || base == ".direnv" || base == "tmp" || base == "node_modules"); }; in rustPlatform.buildRustPackage { pname = "ec-cli"; version = "0.0.0"; inherit src; cargoLock = { lockFile = ../../Cargo.lock; }; cargoBuildFlags = [ "-p" "ec-cli" ]; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; doCheck = false; meta = with lib; { description = "every.channel CLI (HDHomeRun discovery + tooling)"; mainProgram = "ec-cli"; platforms = platforms.unix; license = licenses.agpl3Only; }; }