Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
1.2 KiB
Nix
52 lines
1.2 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
callPackage,
|
|
}:
|
|
|
|
let
|
|
pname = "upscayl";
|
|
version = "2.15.0";
|
|
srcs = rec {
|
|
x86_64-linux = fetchurl {
|
|
url = "https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-linux.AppImage";
|
|
hash = "sha256-ZFlFfliby5nneepELc5gi6zaM5FrcBmohit8YlKqgik=";
|
|
};
|
|
aarch64-darwin = fetchurl {
|
|
url = "https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-mac.zip";
|
|
hash = "sha256-gXqeRaNW0g7ZVkCSbxps9SqPMuVSzLTCGL5F3Om/iwo=";
|
|
};
|
|
x86_64-darwin = aarch64-darwin;
|
|
};
|
|
meta = {
|
|
description = "Free and Open Source AI Image Upscaler";
|
|
homepage = "https://upscayl.github.io/";
|
|
maintainers = with lib.maintainers; [
|
|
icy-thought
|
|
matteopacini
|
|
];
|
|
license = lib.licenses.agpl3Plus;
|
|
platforms = [ "x86_64-linux" ] ++ lib.platforms.darwin;
|
|
mainProgram = "upscayl";
|
|
};
|
|
in
|
|
if stdenv.hostPlatform.isDarwin then
|
|
callPackage ./darwin.nix {
|
|
inherit
|
|
pname
|
|
version
|
|
meta
|
|
;
|
|
src = srcs.${stdenv.hostPlatform.system};
|
|
}
|
|
else
|
|
callPackage ./linux.nix {
|
|
inherit
|
|
pname
|
|
version
|
|
meta
|
|
;
|
|
src = srcs.${stdenv.hostPlatform.system};
|
|
}
|