From a0ba392b048a3b346c144c0a58d0e691ab9ee5e5 Mon Sep 17 00:00:00 2001 From: FKouhai Date: Thu, 18 Sep 2025 22:29:43 +0200 Subject: [PATCH] bulletty: init at 0.1.7 --- pkgs/by-name/bu/bulletty/package.nix | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/bu/bulletty/package.nix diff --git a/pkgs/by-name/bu/bulletty/package.nix b/pkgs/by-name/bu/bulletty/package.nix new file mode 100644 index 000000000000..39148ecfece4 --- /dev/null +++ b/pkgs/by-name/bu/bulletty/package.nix @@ -0,0 +1,38 @@ +{ + lib, + pkgs, + fetchFromGitHub, + rustPlatform, + nix-update-script, + versionCheckHook, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "bulletty"; + version = "0.1.7"; + + src = fetchFromGitHub { + owner = "CrociDB"; + repo = "bulletty"; + tag = "v${finalAttrs.version}"; + hash = "sha256-ceXHrsxUSDx4orlHTOdynYKDID/uvp8NxVMei1EqDA8="; + }; + + cargoHash = "sha256-vhZaklpNIGSMRSjD+WINphMVsAcepUJfw9WBnaxoK4c="; + + # perl is required for bulletty package build for openssl + nativeBuildInputs = with pkgs; [ + perl + ]; + + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + passthru.updateScript = nix-update-script { }; + + meta = { + description = "bulletty is a feed reader for the terminal"; + homepage = "https://bulletty.croci.dev/"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.FKouhai ]; + }; +})