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:
parent
5525603a0c
commit
3786e6ab5e
1 changed files with 46 additions and 0 deletions
46
pkgs/by-name/re/recaf-launcher/package.nix
Normal file
46
pkgs/by-name/re/recaf-launcher/package.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue