From af4d6b73dea1bf63dee2a06b9bde4f58594b3e20 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Wed, 22 May 2013 19:03:49 +0200 Subject: adding alchemy painting application --- pkgs/applications/graphics/alchemy/default.nix | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/applications/graphics/alchemy/default.nix (limited to 'pkgs/applications') diff --git a/pkgs/applications/graphics/alchemy/default.nix b/pkgs/applications/graphics/alchemy/default.nix new file mode 100644 index 000000000000..c8d53f351773 --- /dev/null +++ b/pkgs/applications/graphics/alchemy/default.nix @@ -0,0 +1,30 @@ +{stdenv, fetchurl, jre}: + +stdenv.mkDerivation { + name = "alchemy-007-alpha"; + enableParallelBuilding = true; + + src = fetchurl { + url = http://al.chemy.org/files/Alchemy-007.tar.gz; + sha256 = "1pk00m4iajvv9jzv96in10czpcf7zc3d4nmd9biqagpsg28mr70b"; + }; + + installPhase = '' + ensureDir $out/bin $out/share + cp -a . $out/share/alchemy + cat >> $out/bin/alchemy << EOF + #!/bin/sh + cd $out/share/alchemy + ${jre}/bin/java -jar Alchemy.jar "$@" + EOF + chmod +x $out/bin/alchemy + ''; + + meta = { + description = "Drawing application"; + homepage = http://al.chemy.org/; + license = stdenv.lib.licenses.gpl; + maintainers = [stdenv.lib.maintainers.marcweber]; + platforms = stdenv.lib.platforms.linux; + }; +} -- cgit 1.4.1