diff --git a/pkgs/applications/graphics/yed/default.nix b/pkgs/applications/graphics/yed/default.nix index c4ee645fda2..0cd853a2cbe 100644 --- a/pkgs/applications/graphics/yed/default.nix +++ b/pkgs/applications/graphics/yed/default.nix @@ -1,11 +1,16 @@ -{ stdenv, fetchurl, makeWrapper, unzip, jre }: +{ stdenv, fetchurl, requireFile, makeWrapper, unzip, jre }: stdenv.mkDerivation rec { - name = "yEd-3.14.2"; + name = "yEd-3.14.3"; - src = fetchurl { - url = "http://www.yworks.com/products/yed/demo/${name}.zip"; - sha256 = "0i39n8h97v688r0nydcm0wj1ins2v83xjgykr7czpnmp600cq9cy"; + #src = fetchurl { + # url = "http://www.yworks.com/products/yed/demo/${name}.zip"; + # sha256 = "0xgazknbz82sgk65hxmvbycl1vd25z80a7jgwjgw7syicrgmplcl"; + #}; + src = requireFile { + name = "${name}.zip"; + url = "https://www.yworks.com/en/products_download.php?file=${name}.zip"; + sha256 = "0xgazknbz82sgk65hxmvbycl1vd25z80a7jgwjgw7syicrgmplcl"; }; nativeBuildInputs = [ unzip makeWrapper ]; @@ -20,7 +25,7 @@ stdenv.mkDerivation rec { ''; meta = with stdenv.lib; { - license = licenses.unfreeRedistributable; + license = licenses.unfree; homepage = http://www.yworks.com/en/products/yfiles/yed/; description = "A powerful desktop application that can be used to quickly and effectively generate high-quality diagrams"; platforms = jre.meta.platforms;