mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
yed: add package
This commit is contained in:
parent
5c85b556dc
commit
88aa54a09f
2 changed files with 31 additions and 0 deletions
29
pkgs/applications/graphics/yed/default.nix
Normal file
29
pkgs/applications/graphics/yed/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -11295,6 +11295,8 @@ let
|
|||
qt = qt4;
|
||||
};
|
||||
|
||||
yed = callPackage ../applications/graphics/yed {};
|
||||
|
||||
ykpers = callPackage ../applications/misc/ykpers {};
|
||||
|
||||
yoshimi = callPackage ../applications/audio/yoshimi {
|
||||
|
|
Loading…
Reference in a new issue