mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 22:49:41 +00:00
nix: rename custom -> packages
This commit is contained in:
parent
754882bf0d
commit
afc2eea47a
24 changed files with 1 additions and 1 deletions
33
nix/packages/logisim-evolution.nix
Normal file
33
nix/packages/logisim-evolution.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchurl,
|
||||
jre8,
|
||||
makeWrapper,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "logisim-evolution";
|
||||
version = "2023";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.irisa.fr/cosi/HOMEPAGE/Derrien/logisim/logisim-evolution.jar";
|
||||
sha256 = "sha256-24uXyTXhxxA1uwc787I+OJn+ZmqMgNIL9RE3zoRrWww=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${jre8}/bin/java $out/bin/logisim-evolution \
|
||||
--add-flags "-jar $src" \
|
||||
--set _JAVA_AWT_WM_NONREPARENTING 1
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# NOTE: related issue
|
||||
# https://wiki.archlinux.org/title/java#Gray_window,_applications_not_resizing_with_WM,_menus_immediately_closing
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue