From 6983559ede0d0801b2bc57ff3f6b7867c37297e2 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Fri, 9 May 2025 10:52:46 +1000 Subject: [PATCH] sequential: init at 2.6.0 --- pkgs/by-name/se/sequential/package.nix | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/se/sequential/package.nix diff --git a/pkgs/by-name/se/sequential/package.nix b/pkgs/by-name/se/sequential/package.nix new file mode 100644 index 000000000000..680d7f91d6a0 --- /dev/null +++ b/pkgs/by-name/se/sequential/package.nix @@ -0,0 +1,35 @@ +{ + lib, + fetchurl, + stdenvNoCC, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "sequential"; + version = "2.6.0"; + + buildDate = "2024-09-07.14.59.00"; + + src = fetchurl { + url = "https://github.com/chuchusoft/Sequential/releases/download/v${finalAttrs.version}/Sequential.app.${finalAttrs.buildDate}.tar.xz"; + hash = "sha256-tgpzMAHw266UhKo43GIHFCx/SDq/zIJkWz1TPYTeTzI="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/Applications/Sequential.app + cp -R Sequential.app $out/Applications + + runHook postInstall + ''; + + meta = { + description = "macOS native comic reader and image viewer"; + homepage = "https://github.com/chuchusoft/Sequential"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ Enzime ]; + platforms = lib.platforms.darwin; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + }; +})