From 9070363bfc882c60f4af9a608bd4711618e15e90 Mon Sep 17 00:00:00 2001 From: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com> Date: Thu, 29 Jan 2026 07:37:33 +1100 Subject: [PATCH] rustcast: init at 0.5.6 Co-authored-by: Hythera <87016780+Hythera@users.noreply.github.com> --- pkgs/by-name/ru/rustcast/package.nix | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/ru/rustcast/package.nix diff --git a/pkgs/by-name/ru/rustcast/package.nix b/pkgs/by-name/ru/rustcast/package.nix new file mode 100644 index 000000000000..e8da09e7e8db --- /dev/null +++ b/pkgs/by-name/ru/rustcast/package.nix @@ -0,0 +1,35 @@ +{ + nix-update-script, + fetchFromGitHub, + rustPlatform, + apple-sdk, + lib, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "rustcast"; + version = "0.5.6"; + + src = fetchFromGitHub { + owner = "unsecretised"; + repo = "rustcast"; + tag = "v${finalAttrs.version}"; + hash = "sha256-88vg+xdASskbYwLbEPGmHf8P1PL4PihJDXT1ua/cfCQ="; + }; + + nativeBuildInputs = [ + apple-sdk + ]; + + cargoHash = "sha256-IvpvbsnWWI1I/1PmVfP6qXf8DzRknRBJjMixUp01xo8="; + + passthru.updateScript = nix-update-script { }; + + meta = { + changelog = "https://github.com/unsecretised/rustcast/releases/tag/v${finalAttrs.version}"; + description = "Modern Spotlight Alternative made opensource"; + homepage = "https://github.com/unsecretised/rustcast"; + license = lib.licenses.mit; + platforms = lib.platforms.darwin; + maintainers = with lib.maintainers; [ eveeifyeve ]; + }; +})