From cbfdb79b0effd1a65c117c1d44d6f52309ed985d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Fri, 16 Aug 2019 08:31:31 +0200 Subject: [PATCH] drawio: 11.1.1 -> 11.1.4 Changelog: https://github.com/jgraph/drawio-desktop/releases/tag/v11.1.4 The most important user-visible change is that the binary is renamed from draw.io to drawio. --- pkgs/applications/graphics/drawio/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/graphics/drawio/default.nix b/pkgs/applications/graphics/drawio/default.nix index 02af754a72c6..3f922530e73e 100644 --- a/pkgs/applications/graphics/drawio/default.nix +++ b/pkgs/applications/graphics/drawio/default.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation rec { pname = "drawio"; - version = "11.1.1"; + version = "11.1.4"; src = fetchurl { url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/draw.io-x86_64-${version}.rpm"; - sha256 = "1jibkxx00rma641c3xr7720qj9slqsvhbpi7nawi6f2f91gzyc10"; + sha256 = "0ca8wkkdr7kbb8il84nq05qgd5ykjq15fdv9432wr5p9xmqixz1q"; }; nativeBuildInputs = [ @@ -70,18 +70,18 @@ stdenv.mkDerivation rec { # Application icon mkdir -p $out/share/icons/hicolor - cp -r usr/share/icons/hicolor/0x0 $out/share/icons/hicolor/1024x1024 + cp -r usr/share/icons/hicolor/* $out/share/icons/hicolor/ # XDG desktop item cp -r usr/share/applications $out/share/applications # Symlink wrapper mkdir -p $out/bin - ln -s $out/share/draw.io/draw.io $out/bin/draw.io + ln -s $out/share/draw.io/drawio $out/bin/drawio # Update binary path - substituteInPlace $out/share/applications/draw.io.desktop \ - --replace /opt/draw.io/draw.io $out/bin/draw.io + substituteInPlace $out/share/applications/drawio.desktop \ + --replace /opt/draw.io/drawio $out/bin/drawio ''; meta = with stdenv.lib; {