{ pkgs ? import { } }: with pkgs; rustPlatform.buildRustPackage rec { name = "flake-info"; src = ./.; cargoSha256 = "sha256-TA1WEvmOfnxQ+rRwkIPN1t4VPrDL6pq+WnPHVu2/CPE="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl openssl.dev ] ++ lib.optional pkgs.stdenv.isDarwin [libiconv darwin.apple_sdk.frameworks.Security]; checkFlags = [ "--skip elastic::tests" "--skip nix_gc::tests" ]; }