diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-11-05 16:15:01 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-11-05 20:00:31 +0100 |
commit | 4bb312683b0a2933a4e16a368007affc203093da (patch) | |
tree | 49dbb6156ab6adb938530c1c8dc3012512b058d0 /pkgs/aacolorize/default.nix | |
parent | 1cd1b268b574f8d7a5ef8c26dd0228c548554faf (diff) |
pkgs: Add new aacolorize script to colorize ASCII.
Basically this is just an old script I wrote to separate and merge color information from the actual ASCII arts. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/aacolorize/default.nix')
-rw-r--r-- | pkgs/aacolorize/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/aacolorize/default.nix b/pkgs/aacolorize/default.nix new file mode 100644 index 00000000..a7a3c3f1 --- /dev/null +++ b/pkgs/aacolorize/default.nix @@ -0,0 +1,13 @@ +{ buildPythonPackage, runCommand }: + +buildPythonPackage { + name = "aacolorize"; + src = runCommand "aacolorize-src" {} '' + mkdir -p "$out" + cp "${./aacolorize.py}" "$out/aacolorize" + cat > "$out/setup.py" <<SETUP + from distutils.core import setup + setup(name='aacolorize', scripts=['aacolorize']) + SETUP + ''; +} |