{ lib, fetchCrate, rustPlatform, pkg-config, openssl, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "gh-cal"; version = "0.1.3"; src = fetchCrate { inherit (finalAttrs) pname version; hash = "sha256-x9DekflZoXxH964isWCi6YuV3v/iIyYOuRYVgKaUBx0="; }; cargoHash = "sha256-myfvPAeWuFHQcHXfkTYRfXVQ5ZBrdzQlaqHljbS0ppg="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; meta = { description = "GitHub contributions calender terminal viewer"; homepage = "https://github.com/mrshmllow/gh-cal"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ loicreynier ]; mainProgram = "gh-cal"; }; })