pixelorama: reformat

This commit is contained in:
Felix Schröter 2024-07-29 20:05:17 +02:00
parent e6fa2145cf
commit 9ed7aa0f4e
No known key found for this signature in database
GPG Key ID: 671E39E6744C807D

View File

@ -1,30 +1,33 @@
{ lib
, stdenv
, alsa-lib
, autoPatchelfHook
, fetchFromGitHub
, godot3-headless
, godot3-export-templates
, libGLU
, libpulseaudio
, libX11
, libXcursor
, libXi
, libXinerama
, libXrandr
, libXrender
, nix-update-script
, udev
{
lib,
stdenv,
alsa-lib,
autoPatchelfHook,
fetchFromGitHub,
godot3-headless,
godot3-export-templates,
libGLU,
libpulseaudio,
libX11,
libXcursor,
libXi,
libXinerama,
libXrandr,
libXrender,
nix-update-script,
udev,
}:
let
preset =
if stdenv.isLinux then
if stdenv.is64bit then "Linux/X11 64-bit"
else "Linux/X11 32-bit"
else if stdenv.isDarwin then "Mac OSX"
else throw "unsupported platform";
in stdenv.mkDerivation (finalAttrs: {
if stdenv.is64bit then "Linux/X11 64-bit" else "Linux/X11 32-bit"
else if stdenv.isDarwin then
"Mac OSX"
else
throw "unsupported platform";
in
stdenv.mkDerivation (finalAttrs: {
pname = "pixelorama";
version = "0.11.4";
@ -89,7 +92,10 @@ in stdenv.mkDerivation (finalAttrs: {
description = "Free & open-source 2D sprite editor, made with the Godot Engine!";
changelog = "https://github.com/Orama-Interactive/Pixelorama/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = licenses.mit;
platforms = [ "i686-linux" "x86_64-linux" ];
platforms = [
"i686-linux"
"x86_64-linux"
];
maintainers = with maintainers; [ felschr ];
mainProgram = "pixelorama";
};