godotpcktool: init at 2.1

This commit is contained in:
Timo Gottszky 2025-01-14 17:39:28 +01:00
parent 13d23deeac
commit 80c35e346f
No known key found for this signature in database
GPG key ID: DE79E65F035FF069

View file

@ -0,0 +1,34 @@
{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "godotpcktool";
version = "2.1";
src = fetchFromGitHub {
owner = "hhyyrylainen";
repo = "GodotPckTool";
tag = "v${finalAttrs.version}";
hash = "sha256-jQ6LypQEz7r04lS4Zmu0EvpV/IYM79pmUlaykVUd+po=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Standalone tool for extracting and creating Godot .pck files";
homepage = "https://github.com/hhyyrylainen/GodotPckTool";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ambossmann ];
mainProgram = "godotpcktool";
platforms = lib.platforms.linux;
};
})