0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

recaf-launcher: init at 0.8.1

This commit is contained in:
TudbuT 2025-02-21 20:32:07 +01:00
parent 5525603a0c
commit 3786e6ab5e
No known key found for this signature in database
GPG key ID: B3CF345217F202D3

View file

@ -0,0 +1,46 @@
{
lib,
stdenv,
fetchurl,
buildFHSEnv,
}:
let
version = "0.8.1";
jar = fetchurl {
url = "https://github.com/Col-E/Recaf-Launcher/releases/download/${version}/recaf-gui-${version}.jar";
hash = "sha256-RHsI8z/orwR9b9s+LrrOHpxpr82J6YOpnfik3dnlsvI=";
};
in
buildFHSEnv {
pname = "recaf-launcher";
inherit version;
targetPkgs =
p: with p; [
jar
openjdk23
xorg.libX11
at-spi2-atk
cairo
gdk-pixbuf
glib
gtk3
pango
xorg.libXtst
xorg.libX11
xorg_sys_opengl
];
runScript = "java -jar ${jar}";
meta = {
description = "Simple launcher for Recaf 4.X and above - a modern Java bytecode editor";
homepage = "https://recaf.coley.software";
changelog = "https://github.com/Col-E/Recaf-Launcher/releases/tag/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tudbut ];
mainProgram = "recaf-launcher";
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
};
}