{ lib, openssl, pkg-config, rustPlatform, }: rustPlatform.buildRustPackage { pname = "signal-irc-bridge"; version = "0.1"; src = with lib.fileset; toSource { root = ./.; fileset = intersection (gitTracked ./.) (fileFilter (file: !file.hasExt "nix") ./.); }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; cargoHash = "sha256-Q0j3FWaHDVpI1gHJpUuRzAKx1f0rZ2LcYrFD90DiNj0="; meta.mainProgram = "signal-irc-bridge"; }