yed: 3.14.2 -> 3.14.3, mark as not redistributable

Their license explicitly prohibits distribution and it's unclear whether they allow to download their binary automatically. I've asked to clarify their terms; this may be temporary.
This commit is contained in:
Nikolay Amiantov 2015-08-22 12:25:18 +03:00
parent 3a768403ba
commit c6c2e253a6

View File

@ -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;