Unverified Commit 728e6c6d authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

godotpcktool: init at 2.1 (#373836)

parents 52015d4a 80c35e34
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1295,6 +1295,12 @@
    githubId = 153175;
    name = "Andrew Marshall";
  };
  ambossmann = {
    email = "timogottszky+git@gmail.com";
    github = "Ambossmann";
    githubId = 68373395;
    name = "Timo Gottszky";
  };
  ambroisie = {
    email = "bruno.nixpkgs@belanyi.fr";
    github = "ambroisie";
+34 −0
Original line number Diff line number Diff line
{
  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;
  };
})