traefik: add djds as maintainer (#377217)
[NixPkgs.git] / pkgs / by-name / al / alchemy / package.nix
blob658afb3da34f742c284777d44b7731422d91bdc4
2   lib,
3   stdenv,
4   fetchurl,
5   jre,
6   runtimeShell,
7 }:
9 stdenv.mkDerivation rec {
10   pname = "alchemy";
11   version = "008";
13   enableParallelBuilding = true;
15   src = fetchurl {
16     url = "http://al.chemy.org/files/Alchemy-${version}.tar.gz";
17     sha256 = "0449bvdccgx1jqnws1bckzs4nv2d230523qs0jx015gi81s1q7li";
18   };
20   installPhase = ''
21     mkdir -p $out/bin $out/share
22     cp -a . $out/share/alchemy
23     cat >> $out/bin/alchemy << EOF
24     #!${runtimeShell}
25     cd $out/share/alchemy
26     ${jre}/bin/java -jar Alchemy.jar "$@"
27     EOF
28     chmod +x $out/bin/alchemy
29   '';
31   meta = with lib; {
32     description = "Drawing application";
33     longDescription = ''
34       Alchemy is an open drawing project aimed at exploring how we can sketch,
35       draw, and create on computers in new ways. Alchemy isn’t software for
36       creating finished artwork, but rather a sketching environment that
37       focuses on the absolute initial stage of the creation process.
38       Experimental in nature, Alchemy lets you brainstorm visually to explore
39       an expanded range of ideas and possibilities in a serendipitous way.
40     '';
41     homepage = "http://al.chemy.org/";
42     sourceProvenance = with sourceTypes; [ binaryBytecode ];
43     license = licenses.gpl3Plus;
44     maintainers = [ maintainers.marcweber ];
45     platforms = platforms.linux;
46     mainProgram = "alchemy";
47   };