mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 05:43:17 +00:00
9d15bb808d
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
31 lines
859 B
Nix
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 ];
|
|
};
|
|
}
|