mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
49 lines
1.3 KiB
Nix
49 lines
1.3 KiB
Nix
{
|
||
lib,
|
||
stdenv,
|
||
fetchurl,
|
||
jre,
|
||
runtimeShell,
|
||
}:
|
||
|
||
stdenv.mkDerivation rec {
|
||
pname = "alchemy";
|
||
version = "008";
|
||
|
||
enableParallelBuilding = true;
|
||
|
||
src = fetchurl {
|
||
url = "http://al.chemy.org/files/Alchemy-${version}.tar.gz";
|
||
sha256 = "0449bvdccgx1jqnws1bckzs4nv2d230523qs0jx015gi81s1q7li";
|
||
};
|
||
|
||
installPhase = ''
|
||
mkdir -p $out/bin $out/share
|
||
cp -a . $out/share/alchemy
|
||
cat >> $out/bin/alchemy << EOF
|
||
#!${runtimeShell}
|
||
cd $out/share/alchemy
|
||
${jre}/bin/java -jar Alchemy.jar "$@"
|
||
EOF
|
||
chmod +x $out/bin/alchemy
|
||
'';
|
||
|
||
meta = with lib; {
|
||
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 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.
|
||
'';
|
||
homepage = "http://al.chemy.org/";
|
||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||
license = licenses.gpl3Plus;
|
||
maintainers = [ maintainers.marcweber ];
|
||
platforms = platforms.linux;
|
||
mainProgram = "alchemy";
|
||
};
|
||
}
|