at master 35 lines 891 B view raw
1{ 2 lib, 3 fetchurl, 4 stdenvNoCC, 5}: 6 7stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "sequential"; 9 version = "2.6.0"; 10 11 buildDate = "2024-09-07.14.59.00"; 12 13 src = fetchurl { 14 url = "https://github.com/chuchusoft/Sequential/releases/download/v${finalAttrs.version}/Sequential.app.${finalAttrs.buildDate}.tar.xz"; 15 hash = "sha256-tgpzMAHw266UhKo43GIHFCx/SDq/zIJkWz1TPYTeTzI="; 16 }; 17 18 installPhase = '' 19 runHook preInstall 20 21 mkdir -p $out/Applications/Sequential.app 22 cp -R Sequential.app $out/Applications 23 24 runHook postInstall 25 ''; 26 27 meta = { 28 description = "macOS native comic reader and image viewer"; 29 homepage = "https://github.com/chuchusoft/Sequential"; 30 license = lib.licenses.bsd3; 31 maintainers = with lib.maintainers; [ Enzime ]; 32 platforms = lib.platforms.darwin; 33 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 34 }; 35})