From 5320b897a0c83e79b82455b9808ae7879e545396 Mon Sep 17 00:00:00 2001 From: PopeRigby Date: Sun, 6 Jul 2025 11:47:33 -0700 Subject: [PATCH] rustical: init at 0.4.11 --- pkgs/by-name/ru/rustical/package.nix | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/ru/rustical/package.nix diff --git a/pkgs/by-name/ru/rustical/package.nix b/pkgs/by-name/ru/rustical/package.nix new file mode 100644 index 000000000000..8c492caf2331 --- /dev/null +++ b/pkgs/by-name/ru/rustical/package.nix @@ -0,0 +1,35 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + openssl, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "rustical"; + version = "0.4.11"; + + src = fetchFromGitHub { + owner = "lennart-k"; + repo = "rustical"; + tag = "v${finalAttrs.version}"; + hash = "sha256-QWuJKEc6hBA2rdbaqdhrah+WyRwVd91Y8/BIOaKlW28="; + }; + + cargoHash = "sha256-dQF+6my+TxZ6niFO5OnLXcPt0LGEymaXE9NqZWU5HJk="; + + 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"; + }; +})