2021-01-11 08:54:33 +01:00
|
|
|
|
{ lib, stdenv, fetchurl, jre, runtimeShell }:
|
2013-05-22 19:03:49 +02:00
|
|
|
|
|
2017-03-18 22:38:41 +01:00
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
|
pname = "alchemy";
|
2017-03-18 22:38:41 +01:00
|
|
|
|
version = "008";
|
|
|
|
|
|
2013-05-22 19:03:49 +02:00
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-03-18 22:38:41 +01:00
|
|
|
|
url = "http://al.chemy.org/files/Alchemy-${version}.tar.gz";
|
|
|
|
|
sha256 = "0449bvdccgx1jqnws1bckzs4nv2d230523qs0jx015gi81s1q7li";
|
2013-05-22 19:03:49 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 14:56:10 +02:00
|
|
|
|
mkdir -p $out/bin $out/share
|
2013-05-22 19:03:49 +02:00
|
|
|
|
cp -a . $out/share/alchemy
|
|
|
|
|
cat >> $out/bin/alchemy << EOF
|
2019-02-26 12:45:54 +01:00
|
|
|
|
#!${runtimeShell}
|
2013-05-22 19:03:49 +02:00
|
|
|
|
cd $out/share/alchemy
|
|
|
|
|
${jre}/bin/java -jar Alchemy.jar "$@"
|
|
|
|
|
EOF
|
|
|
|
|
chmod +x $out/bin/alchemy
|
|
|
|
|
'';
|
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
|
meta = with lib; {
|
2013-05-22 19:03:49 +02:00
|
|
|
|
description = "Drawing application";
|
2014-06-22 21:46:34 +02:00
|
|
|
|
longDescription = ''
|
|
|
|
|
Alchemy is an open drawing project aimed at exploring how we can sketch,
|
|
|
|
|
draw, and create on computers in new ways. Alchemy isn’t 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.
|
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
|
homepage = "http://al.chemy.org/";
|
2017-03-18 22:38:41 +01:00
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
|
maintainers = [ maintainers.marcweber ];
|
|
|
|
|
platforms = platforms.linux;
|
2013-05-22 19:03:49 +02:00
|
|
|
|
};
|
|
|
|
|
}
|