Skip to content

Commit 8ec8fd5

Browse files
authored
pixelorama: 1.0.1 -> 1.0.2 (#336873)
2 parents cd36278 + 4271b75 commit 8ec8fd5

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

pkgs/by-name/pi/pixelorama/package.nix

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,26 @@
1919
}:
2020

2121
let
22+
presets = {
23+
"i686-linux" = "Linux 32-bit";
24+
"x86_64-linux" = "Linux 64-bit";
25+
"aarch64-linux" = "Linux ARM64";
26+
};
2227
preset =
23-
if stdenv.isLinux then
24-
if stdenv.is64bit then "Linux/X11 64-bit" else "Linux/X11 32-bit"
25-
else if stdenv.isDarwin then
26-
"Mac OSX"
27-
else
28-
throw "unsupported platform";
28+
presets.${stdenv.hostPlatform.system}
29+
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
2930

3031
godot_version_folder = lib.replaceStrings [ "-" ] [ "." ] godot_4.version;
3132
in
3233
stdenv.mkDerivation (finalAttrs: {
3334
pname = "pixelorama";
34-
version = "1.0.1";
35+
version = "1.0.2";
3536

3637
src = fetchFromGitHub {
3738
owner = "Orama-Interactive";
3839
repo = "Pixelorama";
3940
rev = "v${finalAttrs.version}";
40-
hash = "sha256-lfim5ZiykOhI1kgsu0ni2frUVHPRIPJdrGx6TuUQcSY=";
41+
hash = "sha256-rFXUy6fvGKmB+aaNgiI+NNRG0xlj1migdetnU4iVDDQ=";
4142
};
4243

4344
strictDeps = true;
@@ -95,6 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
9596
platforms = [
9697
"i686-linux"
9798
"x86_64-linux"
99+
"aarch64-linux"
98100
];
99101
maintainers = with maintainers; [ felschr ];
100102
mainProgram = "pixelorama";

0 commit comments

Comments
 (0)