3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/yed/default.nix
R. RyanTM 69d110eeb5 yed: 3.18.2 -> 3.19
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/yed/versions
2019-04-03 04:30:31 -07:00

31 lines
855 B
Nix

{ stdenv, fetchzip, makeWrapper, unzip, jre }:
stdenv.mkDerivation rec {
name = "yEd-${version}";
version = "3.19";
src = fetchzip {
url = "https://www.yworks.com/resources/yed/demo/${name}.zip";
sha256 = "0l70pc7wl2ghfkjab9w2mbx7crwha7xwkrpmspsi5c6q56dw7s33";
};
nativeBuildInputs = [ makeWrapper unzip ];
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.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;
maintainers = with maintainers; [ abbradar ];
};
}