diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-11-11 14:01:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 14:01:44 +0100 |
commit | 3260545bc79dfc7c8b52daf450c2baf5eb730a65 (patch) | |
tree | 3273c8e4b4936653a2c4fe4c6d376ac7fae57aa0 /pkgs/applications/science | |
parent | 43b394b98e352562a6ea63db387b9fbdd858727f (diff) | |
parent | 14580c7f4deabea627e07b46118651b84759ad6d (diff) |
Merge pull request #145056 from angustrau/logisim-evolution-3.7.1
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/logic/logisim-evolution/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/science/logic/logisim-evolution/default.nix b/pkgs/applications/science/logic/logisim-evolution/default.nix index 10266abffea11..cf7470b5475b0 100644 --- a/pkgs/applications/science/logic/logisim-evolution/default.nix +++ b/pkgs/applications/science/logic/logisim-evolution/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "logisim-evolution"; - version = "3.5.0"; + version = "3.7.1"; src = fetchurl { url = "https://github.com/logisim-evolution/logisim-evolution/releases/download/v${version}/logisim-evolution-${version}-all.jar"; - sha256 = "1r6im4gmjbnckx8jig6bxi5lxv06lwdnpxkyfalsfmw4nybd5arw"; + sha256 = "04q9bzhnzpi8cgv3ly4ii88qvmlw9n09c4p1qmg8dhxqkskdqj6h"; }; dontUnpack = true; @@ -30,8 +30,11 @@ stdenv.mkDerivation rec { mkdir -p $out/bin makeWrapper ${jre}/bin/java $out/bin/logisim-evolution --add-flags "-jar $src" - unzip $src resources/logisim/img/logisim-icon.svg - install -D resources/logisim/img/logisim-icon.svg $out/share/pixmaps/logisim-evolution.svg + # Create icons + unzip $src "resources/logisim/img/*" + for size in 16 32 48 128 256; do + install -D "./resources/logisim/img/logisim-icon-$size.png" "$out/share/icons/hicolor/''${size}x''${size}/apps/logisim-evolution.png" + done runHook postInstall ''; |