From 3e0cca3f9dc98ffc80a13bc8cc68dd354559e9f2 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 15 Feb 2024 23:44:23 +0000 Subject: [PATCH] remove celeste64, there's an upstream one --- flake.nix | 1 - packages/celeste64/default.nix | 66 ---------------------------------- packages/celeste64/deps.nix | 40 --------------------- 3 files changed, 107 deletions(-) delete mode 100644 packages/celeste64/default.nix delete mode 100644 packages/celeste64/deps.nix diff --git a/flake.nix b/flake.nix index 8f8805e..d019742 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,6 @@ overlays.default = final: prev: { attic = final.callPackage ./packages/attic { }; attic-client = final.attic.override { clientOnly = true; }; - celeste64 = final.callPackage ./packages/celeste64 { }; cups-dymo-patched = final.callPackage ./packages/cups-dymo { }; ipsw = final.callPackage ./packages/ipsw { }; jlink = final.callPackage ./packages/jlink { }; diff --git a/packages/celeste64/default.nix b/packages/celeste64/default.nix deleted file mode 100644 index 5fb6fa4..0000000 --- a/packages/celeste64/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ lib, fetchFromGitHub, buildDotnetModule, dotnetCorePackages, libGL, stdenv -, systemdLibs, libpulseaudio, wayland, libdecor, libxkbcommon, makeDesktopItem -, copyDesktopItems, dbus, xorg }: -buildDotnetModule rec { - pname = "celeste64"; - version = "1.0.1"; - - src = fetchFromGitHub { - owner = "ExOK"; - repo = "Celeste64"; - rev = "517991f8cdacf2c9d8fb71f53637e581399e197b"; - sha256 = "sha256-DFrOkk86lvFoleq2RwfXPiMMhVGz+aSKdtpAje3+H4A="; - }; - - nugetDeps = ./deps.nix; - dotnet-runtime = dotnetCorePackages.runtime_8_0; - dotnet-sdk = dotnetCorePackages.sdk_8_0; - - executables = [ "Celeste64" ]; - projectFile = "Celeste64.csproj"; - - nativeBuildInputs = [ copyDesktopItems ]; - desktopItems = [ - (makeDesktopItem rec { - name = "Celeste64"; - desktopName = name; - exec = name; - icon = name; - comment = meta.description; - categories = [ "Game" ]; - }) - ]; - - runtimeDeps = [ - dbus.lib - libGL - libdecor - libpulseaudio - libxkbcommon - stdenv.cc.cc.lib - systemdLibs - wayland - xorg.libX11 - xorg.libXScrnSaver - xorg.libXcursor - xorg.libXext - xorg.libXfixes - xorg.libXi - xorg.libXrandr - xorg.libxcb - ]; - - preFixup = '' - cp -r ./Content $out/lib/celeste64/Content - install -D ./Content/Sprites/icon_strawberry.png $out/share/icons/hicolor/128x128/apps/Celeste64.png - ''; - - meta = with lib; { - homepage = "https://github.com/ExOK/Celeste64"; - description = - "A game made by the Celeste developers in a week(ish, closer to 2)"; - license = licenses.unfreeRedistributable; - platforms = platforms.linux; - maintainers = with maintainers; [ artemist ]; - }; -} diff --git a/packages/celeste64/deps.nix b/packages/celeste64/deps.nix deleted file mode 100644 index d0854bf..0000000 --- a/packages/celeste64/deps.nix +++ /dev/null @@ -1,40 +0,0 @@ -# This file was automatically generated by passthru.fetch-deps. -# Please dont edit it manually, your changes might get overwritten! - -{ fetchNuGet }: [ - (fetchNuGet { - pname = "FosterFramework"; - version = "0.1.14-alpha"; - sha256 = "1bqzka53kcvmmlwxa33v8my2gwqykcdwmcrbh7hbrx84nzcqbvrl"; - }) - (fetchNuGet { - pname = "Microsoft.NET.ILLink.Tasks"; - version = "8.0.1"; - sha256 = "1drbgqdcvbpisjn8mqfgba1pwb6yri80qc4mfvyczqwrcsj5k2ja"; - }) - (fetchNuGet { - pname = "SharpGLTF.Core"; - version = "1.0.0-alpha0031"; - sha256 = "0ln78mkhbcxqvwnf944hbgg24vbsva2jpih6q3x82d3h7rl1pkh6"; - }) - (fetchNuGet { - pname = "SharpGLTF.Runtime"; - version = "1.0.0-alpha0031"; - sha256 = "0lvb3asi3v0n718qf9y367km7qpkb9wci38y880nqvifpzllw0jg"; - }) - (fetchNuGet { - pname = "Sledge.Formats"; - version = "1.2.2"; - sha256 = "1y0l66m9rym0p1y4ifjlmg3j9lsmhkvbh38frh40rpvf1axn2dyh"; - }) - (fetchNuGet { - pname = "Sledge.Formats.Map"; - version = "1.1.5"; - sha256 = "1bww60hv9xcyxpvkzz5q3ybafdxxkw6knhv97phvpkw84pd0jil6"; - }) - (fetchNuGet { - pname = "System.Numerics.Vectors"; - version = "4.5.0"; - sha256 = "1kzrj37yzawf1b19jq0253rcs8hsq1l2q8g69d7ipnhzb0h97m59"; - }) -]