2013-05-22 19:03:49 +02:00
|
|
|
{stdenv, fetchurl, jre}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-07-13 23:48:06 +02:00
|
|
|
name = "alchemy-007";
|
2013-05-22 19:03:49 +02:00
|
|
|
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/;
|
2013-05-30 01:30:48 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-05-22 19:03:49 +02:00
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|