{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "rustical"; version = "0.12.1"; src = fetchFromGitHub { owner = "lennart-k"; repo = "rustical"; tag = "v${finalAttrs.version}"; hash = "sha256-+JWpb0Hi8qyVjnwsxlYAlrqH3GhLqTFj2tbAWFIN+mg="; }; cargoHash = "sha256-TNIAdxOmAgZOGe3aBcKmeEzuGP8LuhGNDMNY/MUwiTw="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; env.OPENSSL_NO_VENDOR = true; meta = { description = "Yet another calendar server aiming to be simple, fast and passwordless"; homepage = "https://github.com/lennart-k/rustical"; changelog = "https://github.com/lennart-k/rustical/releases/tag/v${finalAttrs.version}"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ PopeRigby ]; mainProgram = "rustical"; }; })