nixpkgs/pkgs/applications/graphics/yed/default.nix
R. RyanTM 9d15bb808d yed: 3.19 -> 3.19.1
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-10-24 16:23:55 -07:00

31 lines
859 B
Nix

{ stdenv, fetchzip, makeWrapper, unzip, jre }:
stdenv.mkDerivation rec {
pname = "yEd";
version = "3.19.1";
src = fetchzip {
url = "https://www.yworks.com/resources/yed/demo/${pname}-${version}.zip";
sha256 = "19bnzpwszfrlpi5ssgfsv29gdmfj7pvxad9z8fdjf9k61187dgqj";
};
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 ];
};
}