1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/alchemy/default.nix
2014-06-30 14:56:10 +02:00

39 lines
1.2 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{stdenv, fetchurl, jre}:
stdenv.mkDerivation {
name = "alchemy-007";
enableParallelBuilding = true;
src = fetchurl {
url = http://al.chemy.org/files/Alchemy-007.tar.gz;
sha256 = "1pk00m4iajvv9jzv96in10czpcf7zc3d4nmd9biqagpsg28mr70b";
};
installPhase = ''
mkdir -p $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";
longDescription = ''
Alchemy is an open drawing project aimed at exploring how we can sketch,
draw, and create on computers in new ways. Alchemy isnt software for
creating finished artwork, but rather a sketching environment that
focuses on the absolute initial stage of the creation process.
Experimental in nature, Alchemy lets you brainstorm visually to explore
an expanded range of ideas and possibilities in a serendipitous way.
'';
homepage = http://al.chemy.org/;
license = stdenv.lib.licenses.gpl3Plus;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
}