16 lines
520 B
Nix
16 lines
520 B
Nix
self: super: let
|
|
font-flags = "-Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true";
|
|
in {
|
|
logisim = super.logisim.overrideAttrs (old: {
|
|
pname = "logisim-evolution";
|
|
src = super.fetchurl {
|
|
url = "https://mathcs.holycross.edu/~kwalsh/logisim-evolution-4.0.4hc.jar";
|
|
sha256 = "0nmvzpdhgfrzx0x6799a1jnsbgipbszd312crf865nzvsi2p046i";
|
|
};
|
|
installPhase = ''
|
|
mkdir -pv $out/bin
|
|
makeWrapper ${super.jre}/bin/java $out/bin/logisim --add-flags "${font-flags} -jar $src"
|
|
'';
|
|
});
|
|
}
|