fix versions in packages
This commit is contained in:
parent
b5b6a7c926
commit
5f6f9b4241
@ -22,15 +22,13 @@
|
|||||||
godotManpage,
|
godotManpage,
|
||||||
fontconfig,
|
fontconfig,
|
||||||
xorg,
|
xorg,
|
||||||
}: let
|
}:
|
||||||
qualifier = "stable";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "godot-bin";
|
pname = "godot-bin";
|
||||||
version = "4.4.1";
|
version = "4.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/godotengine/godot-builds/releases/download/4.4.1-rc1/Godot_v4.4.1-rc1_linux.x86_64.zip";
|
url = "https://github.com/godotengine/godot-builds/releases/download/${version}-rc1/Godot_v4.4.1-rc1_linux.x86_64.zip";
|
||||||
sha256 = "sha256-aIQgp/KBXvV4BBLsLjTXVqSZj0BN5EevEnPFyhaEu3c=";
|
sha256 = "sha256-aIQgp/KBXvV4BBLsLjTXVqSZj0BN5EevEnPFyhaEu3c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -57,7 +55,7 @@ in
|
|||||||
unpackCmd = "unzip $curSrc -d source";
|
unpackCmd = "unzip $curSrc -d source";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
install -m 0755 Godot_v4.4.1-rc1_linux.x86_64 $out/bin/godot
|
install -m 0755 Godot_v${version}-rc1_linux.x86_64 $out/bin/godot
|
||||||
|
|
||||||
# Only create a desktop file, if the necessary variables are set
|
# Only create a desktop file, if the necessary variables are set
|
||||||
# these are set only, if one installs this program using flakes.
|
# these are set only, if one installs this program using flakes.
|
||||||
|
|||||||
@ -8,7 +8,7 @@ in
|
|||||||
|
|
||||||
godotBin.overrideAttrs (oldAttrs: rec {
|
godotBin.overrideAttrs (oldAttrs: rec {
|
||||||
pname = "godot-headless-bin";
|
pname = "godot-headless-bin";
|
||||||
version = "3.5.1";
|
version = "4.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.tuxfamily.org/godotengine/${version}/Godot_v${version}-${qualifier}_linux_headless.64.zip";
|
url = "https://downloads.tuxfamily.org/godotengine/${version}/Godot_v${version}-${qualifier}_linux_headless.64.zip";
|
||||||
|
|||||||
@ -16,7 +16,7 @@ godotBin.overrideAttrs (oldAttrs: rec {
|
|||||||
version = "4.4.1";
|
version = "4.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/godotengine/godot-builds/releases/download/4.4.1-rc1/Godot_v4.4.1-rc1_mono_linux_x86_64.zip";
|
url = "https://github.com/godotengine/godot-builds/releases/download/${version}-rc1/Godot_v4.4.1-rc1_mono_linux_x86_64.zip";
|
||||||
sha256 = "sha256-MnOgW5reNGWO1soadU4KTwVtWiZZqmLV7FX8AOUkqhg=";
|
sha256 = "sha256-MnOgW5reNGWO1soadU4KTwVtWiZZqmLV7FX8AOUkqhg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ godotBin.overrideAttrs (oldAttrs: rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/opt/godot-mono
|
mkdir -p $out/bin $out/opt/godot-mono
|
||||||
|
|
||||||
install -m 0755 Godot_v4.4.1-rc1_mono_linux.x86_64 $out/opt/godot-mono/Godot_v${version}-${qualifier}_mono_x11.64
|
install -m 0755 Godot_v${version}-rc1_mono_linux.x86_64 $out/opt/godot-mono/Godot_v${version}-${qualifier}_mono_x11.64
|
||||||
cp -r GodotSharp $out/opt/godot-mono
|
cp -r GodotSharp $out/opt/godot-mono
|
||||||
|
|
||||||
ln -s $out/opt/godot-mono/Godot_v${version}-${qualifier}_mono_x11.64 $out/bin/godot-mono
|
ln -s $out/opt/godot-mono/Godot_v${version}-${qualifier}_mono_x11.64 $out/bin/godot-mono
|
||||||
|
|||||||
Reference in New Issue
Block a user