Skip to content

Commit f0edbb6

Browse files
authored
recaf-launcher: init at 0.8.1 (#384026)
2 parents 6950511 + 3786e6a commit f0edbb6

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchurl,
5+
buildFHSEnv,
6+
}:
7+
let
8+
version = "0.8.1";
9+
jar = fetchurl {
10+
url = "https://github.com/Col-E/Recaf-Launcher/releases/download/${version}/recaf-gui-${version}.jar";
11+
hash = "sha256-RHsI8z/orwR9b9s+LrrOHpxpr82J6YOpnfik3dnlsvI=";
12+
};
13+
in
14+
buildFHSEnv {
15+
pname = "recaf-launcher";
16+
inherit version;
17+
18+
targetPkgs =
19+
p: with p; [
20+
jar
21+
22+
openjdk23
23+
xorg.libX11
24+
at-spi2-atk
25+
cairo
26+
gdk-pixbuf
27+
glib
28+
gtk3
29+
pango
30+
xorg.libXtst
31+
xorg.libX11
32+
xorg_sys_opengl
33+
];
34+
35+
runScript = "java -jar ${jar}";
36+
37+
meta = {
38+
description = "Simple launcher for Recaf 4.X and above - a modern Java bytecode editor";
39+
homepage = "https://recaf.coley.software";
40+
changelog = "https://github.com/Col-E/Recaf-Launcher/releases/tag/${version}/CHANGELOG.md";
41+
license = lib.licenses.mit;
42+
maintainers = with lib.maintainers; [ tudbut ];
43+
mainProgram = "recaf-launcher";
44+
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
45+
};
46+
}

0 commit comments

Comments
 (0)