forked from mirrors/nixpkgs
aafigure: new package
aafigure is an ASCII art to image converter. Manual and example document: http://launchpad.net/aafigure/trunk/0.5/+download/aafigure.pdf
This commit is contained in:
parent
524315194c
commit
0e9599ca94
|
@ -131,6 +131,36 @@ pythonPackages = modules // import ./python-packages-generated.nix {
|
|||
|
||||
# packages defined here
|
||||
|
||||
aafigure = buildPythonPackage rec {
|
||||
name = "aafigure-0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/a/aafigure/${name}.tar.gz";
|
||||
md5 = "5322888a21eb0bb2e749fbf98eddf574";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pillow ];
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
# Fix impurity. TODO: Do the font lookup using fontconfig instead of this
|
||||
# manual method. Until that is fixed, we get this whenever we run aafigure:
|
||||
# WARNING: font not found, using PIL default font
|
||||
patchPhase = ''
|
||||
sed -i "s|/usr/share/fonts|/nonexisting-fonts-path|" aafigure/PILhelper.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "ASCII art to image converter";
|
||||
homepage = https://launchpad.net/aafigure/;
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
actdiag = buildPythonPackage rec {
|
||||
name = "actdiag-0.4.3";
|
||||
|
||||
|
|
Loading…
Reference in a new issue