From a287f32a3b3bd309a3e88c22fa2d22522943db99 Mon Sep 17 00:00:00 2001 From: Timo Gottszky Date: Tue, 14 Jan 2025 17:39:28 +0100 Subject: [PATCH] godotpcktool: init at 2.1 --- pkgs/by-name/go/godotpcktool/package.nix | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/go/godotpcktool/package.nix diff --git a/pkgs/by-name/go/godotpcktool/package.nix b/pkgs/by-name/go/godotpcktool/package.nix new file mode 100644 index 00000000000000..a06666cdb38819 --- /dev/null +++ b/pkgs/by-name/go/godotpcktool/package.nix @@ -0,0 +1,36 @@ +{ + lib, + stdenv, + fetchFromGitHub, + nix-update-script, + cmake, +}: +stdenv.mkDerivation rec { + pname = "godotpcktool"; + version = "2.1"; + + src = fetchFromGitHub { + owner = "hhyyrylainen"; + repo = "GodotPckTool"; + tag = "v${version}"; + hash = "sha256-jQ6LypQEz7r04lS4Zmu0EvpV/IYM79pmUlaykVUd+po="; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ ]; + + 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; + }; +}