godot4-mono :-(
This commit is contained in:
parent
a8e522d86e
commit
d7d8a4edf9
3 changed files with 78 additions and 2 deletions
|
@ -42,10 +42,16 @@
|
||||||
cloc
|
cloc
|
||||||
viu
|
viu
|
||||||
qbittorrent
|
qbittorrent
|
||||||
godot_4
|
|
||||||
jetbrains.idea-community-bin
|
jetbrains.idea-community-bin
|
||||||
zed-editor
|
zed-editor
|
||||||
mumble
|
mumble
|
||||||
|
|
||||||
|
godot4-mono
|
||||||
|
omnisharp-roslyn
|
||||||
|
# I don't know why, I don't want to know why, I shouldn't
|
||||||
|
# have to wonder why, but for whatever reason this stupid
|
||||||
|
# dotnet sdk isn't being detected by godot unless we add it here
|
||||||
|
dotnet-sdk
|
||||||
];
|
];
|
||||||
|
|
||||||
services.murmur = {
|
services.murmur = {
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
win7-cursors = callPackage ./win7-cursors.nix {};
|
win7-cursors = callPackage ./win7-cursors.nix {};
|
||||||
sddm-i3-theme = callPackage ./sddm-i3-theme.nix {};
|
sddm-i3-theme = callPackage ./sddm-i3-theme.nix {};
|
||||||
ericw-tools-latest = callPackage ./ericw-tools-latest.nix {};
|
ericw-tools-latest = callPackage ./ericw-tools-latest.nix {};
|
||||||
|
godot4-mono = callPackage ./godot4-mono.nix {};
|
||||||
alacritty-sixel = callPackage ./alacritty-sixel.nix {};
|
alacritty-sixel = callPackage ./alacritty-sixel.nix {};
|
||||||
i3status = prevPkgs.i3status.overrideAttrs (_: { patches = [ ../files/i3status-format-fix.patch ]; });
|
i3status = prevPkgs.i3status.overrideAttrs (_: { patches = [ ../files/i3status-format-fix.patch ]; });
|
||||||
flameshot = prevPkgs.flameshot.overrideAttrs (_: { patches = [ ../files/flameshot-0x0-upload.patch ]; });
|
flameshot = prevPkgs.flameshot.overrideAttrs (_: { patches = [ ../files/flameshot-0x0-upload.patch ]; });
|
||||||
|
@ -19,7 +20,7 @@
|
||||||
nativeBuildInputs = prev.nativeBuildInputs ++ [ pkgs.glslang ];
|
nativeBuildInputs = prev.nativeBuildInputs ++ [ pkgs.glslang ];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd Quake
|
cd Quake
|
||||||
make -j6 DO_USERDIRS=1 prefix=$out bindir=$out/bin
|
make -j6 DO_USERDIRS=1 prefix=$out bindir=$out/bin
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
protontricks = prevPkgs.protontricks.overrideAttrs (prev: {
|
protontricks = prevPkgs.protontricks.overrideAttrs (prev: {
|
||||||
|
|
69
pkgs/godot4-mono.nix
Normal file
69
pkgs/godot4-mono.nix
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
fetchzip,
|
||||||
|
autoPatchelfHook,
|
||||||
|
dotnet-sdk,
|
||||||
|
vulkan-loader,
|
||||||
|
libGL,
|
||||||
|
libX11,
|
||||||
|
libXcursor,
|
||||||
|
libXinerama,
|
||||||
|
libXext,
|
||||||
|
libXrandr,
|
||||||
|
libXrender,
|
||||||
|
libXi,
|
||||||
|
libXfixes,
|
||||||
|
libxkbcommon,
|
||||||
|
alsa-lib,
|
||||||
|
libpulseaudio,
|
||||||
|
dbus,
|
||||||
|
udev,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "godot4-mono";
|
||||||
|
version = "4.3";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
# ...
|
||||||
|
url = "https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_mono_linux_x86_64.zip";
|
||||||
|
hash = "sha256-L32cwE/E1aEAz6t3SlO0k/QQuKRt/8lJntfdCYVdGCE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoPatchelfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
dotnet-sdk
|
||||||
|
];
|
||||||
|
|
||||||
|
runtimeDependencies = [
|
||||||
|
dotnet-sdk
|
||||||
|
vulkan-loader
|
||||||
|
libGL
|
||||||
|
libX11
|
||||||
|
libXcursor
|
||||||
|
libXinerama
|
||||||
|
libXext
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
libXi
|
||||||
|
libXfixes
|
||||||
|
libxkbcommon
|
||||||
|
alsa-lib
|
||||||
|
libpulseaudio
|
||||||
|
dbus
|
||||||
|
dbus.lib
|
||||||
|
udev
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -m755 -D Godot_v4.3-stable_mono_linux.x86_64 $out/bin/godot4-mono
|
||||||
|
cp -fr * $out/bin/
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue