diff options
author | Edward Tjörnhammar <ed@cflags.cc> | 2014-11-26 22:17:48 +0100 |
---|---|---|
committer | Edward Tjörnhammar <ed@cflags.cc> | 2014-11-26 22:17:48 +0100 |
commit | d177b477c122a5e51dda07ff9956bdc4bbdbeea9 (patch) | |
tree | 70de74f1da3985057b3deb9b3885f1b0f80b7021 /pkgs/applications/graphics | |
parent | 00146e3e086c61add917958e0697cc4507960933 (diff) | |
parent | 88aa54a09fceff44ebd978e19f0a372082a8f6e5 (diff) | |
download | nixpkgs-d177b477c122a5e51dda07ff9956bdc4bbdbeea9.tar nixpkgs-d177b477c122a5e51dda07ff9956bdc4bbdbeea9.tar.gz nixpkgs-d177b477c122a5e51dda07ff9956bdc4bbdbeea9.tar.bz2 nixpkgs-d177b477c122a5e51dda07ff9956bdc4bbdbeea9.tar.lz nixpkgs-d177b477c122a5e51dda07ff9956bdc4bbdbeea9.tar.xz nixpkgs-d177b477c122a5e51dda07ff9956bdc4bbdbeea9.tar.zst nixpkgs-d177b477c122a5e51dda07ff9956bdc4bbdbeea9.zip |
Merge pull request #5138 from abbradar/yed
yed: add package
Diffstat (limited to 'pkgs/applications/graphics')
-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 00000000000..2929513952e --- /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 ]; + }; +} |