about summary refs log tree commit diff
path: root/pkgs/applications/graphics/yed/default.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-08-22 12:25:18 +0300
committerNikolay Amiantov <ab@fmap.me>2015-08-22 13:54:11 +0300
commitc6c2e253a6f4011b0cceb11852a513012300da9d (patch)
tree161b26d7d96b2dcb0559ad2cf3f341f692d84020 /pkgs/applications/graphics/yed/default.nix
parent3a768403ba3a523b08a51969bcb9378af0d97267 (diff)
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.
Diffstat (limited to 'pkgs/applications/graphics/yed/default.nix')
-rw-r--r--pkgs/applications/graphics/yed/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/yed/default.nix b/pkgs/applications/graphics/yed/default.nix
index c4ee645fda262..0cd853a2cbea8 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;