diff options
author | Nikolay Amiantov <ab@fmap.me> | 2014-11-27 00:15:12 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2014-11-27 00:15:30 +0300 |
commit | 88aa54a09fceff44ebd978e19f0a372082a8f6e5 (patch) | |
tree | 30cccd35739c25a08f5ae97d69354dc71e4135ad /pkgs/applications/graphics/yed/default.nix | |
parent | 5c85b556dcab6a7c418aef48e7102e7f095e1e67 (diff) |
yed: add package
Diffstat (limited to 'pkgs/applications/graphics/yed/default.nix')
-rw-r--r-- | pkgs/applications/graphics/yed/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/yed/default.nix b/pkgs/applications/graphics/yed/default.nix new file mode 100644 index 0000000000000..2929513952e1c --- /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 ]; + }; +} |