diff --git a/pkgs/applications/graphics/yed/default.nix b/pkgs/applications/graphics/yed/default.nix new file mode 100644 index 000000000000..2929513952e1 --- /dev/null +++ b/pkgs/applications/graphics/yed/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, makeWrapper, unzip, jre }: + +stdenv.mkDerivation rec { + name = "yEd-3.13"; + + src = fetchurl { + url = "http://www.yworks.com/products/yed/demo/${name}.zip"; + sha256 = "1d5qs6q31k49y9gh054aafck548pv9f97b3il4iksnna1r59w5jy"; + }; + + nativeBuildInputs = [ unzip makeWrapper ]; + + installPhase = '' + mkdir -p $out/yed + cp -r * $out/yed + mkdir -p $out/bin + + makeWrapper ${jre}/bin/java $out/bin/yed \ + --add-flags "-jar $out/yed/yed.jar --" + ''; + + meta = with stdenv.lib; { + license = licenses.unfreeRedistributable; + 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; + maintainer = with maintainers; [ abbradar ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 99c5caa16493..15d3e96a4a9b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11295,6 +11295,8 @@ let qt = qt4; }; + yed = callPackage ../applications/graphics/yed {}; + ykpers = callPackage ../applications/misc/ykpers {}; yoshimi = callPackage ../applications/audio/yoshimi {