{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "reindeer"; version = "2025.02.24.00"; src = fetchFromGitHub { owner = "facebookincubator"; repo = "reindeer"; tag = "v${version}"; hash = "sha256-+uiVUEaBDO7c2QYo0NcCy9Ms+wz+09p6kD0muRAvOlo="; }; useFetchCargoVendor = true; cargoHash = "sha256-G+NAljFX0R73+sj30KHHkU78AfQCg7e3PM5oOB9iTbE="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; passthru.updateScript = nix-update-script { }; meta = with lib; { description = "Reindeer is a tool which takes Rust Cargo dependencies and generates Buck build rules"; mainProgram = "reindeer"; homepage = "https://github.com/facebookincubator/reindeer"; license = with licenses; [ mit ]; maintainers = with maintainers; [ nickgerace ]; }; }