godot_4-export-templates: add version to derivation
This commit is contained in:
@@ -33,7 +33,7 @@ let
|
||||
|
||||
export-templates-bin = (
|
||||
callPackage ./export-templates-bin.nix {
|
||||
inherit version;
|
||||
inherit version godot;
|
||||
hash = exportTemplatesHash;
|
||||
}
|
||||
);
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{
|
||||
fetchzip,
|
||||
godot,
|
||||
hash,
|
||||
lib,
|
||||
version,
|
||||
}:
|
||||
# Export templates is necessary for setting up Godot engine, it's used when exporting projects.
|
||||
@@ -8,8 +10,20 @@
|
||||
# Export templates version should be kept in sync with Godot version.
|
||||
# https://docs.godotengine.org/en/stable/tutorials/export/exporting_projects.html#export-templates
|
||||
fetchzip {
|
||||
pname = "export_templates";
|
||||
pname = "godot-export-templates";
|
||||
version = version;
|
||||
extension = "zip";
|
||||
url = "https://github.com/godotengine/godot/releases/download/${version}/Godot_v${version}_export_templates.tpz";
|
||||
inherit hash;
|
||||
|
||||
meta = {
|
||||
inherit (godot.meta)
|
||||
changelog
|
||||
description
|
||||
homepage
|
||||
license
|
||||
maintainers
|
||||
;
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user