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"; + }; +})