seqdiag: new package

Seqdiag generates sequence-diagram image from spec-text file (similar to
Graphviz).
This commit is contained in:
Bjørn Forsman 2013-09-21 19:19:42 +02:00
parent 2f238d82a0
commit d048685af5
2 changed files with 29 additions and 0 deletions

View File

@ -1709,6 +1709,8 @@ let
inherit groff;
};
seqdiag = pythonPackages.seqdiag;
sg3_utils = callPackage ../tools/system/sg3_utils { };
sharutils = callPackage ../tools/archivers/sharutils { };

View File

@ -5165,6 +5165,33 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};
seqdiag = buildPythonPackage rec {
name = "seqdiag-0.8.2";
src = fetchurl {
url = "https://pypi.python.org/packages/source/s/seqdiag/${name}.tar.gz";
md5 = "61b3da29b5efaa89701b4db6d2d4d5fa";
};
buildInputs = [ pep8 nose unittest2 docutils ];
propagatedBuildInputs = [ blockdiag ];
# Some tests fail (because of missing input files?):
# ...
# IOError: [Errno 2] No such file or directory: '/tmp/nix-build-python2.7-seqdiag-0.8.2.drv-0/seqdiag-0.8.2/src/seqdiag/tests/diagrams/separators.diag'
doCheck = false;
meta = with stdenv.lib; {
description = "Generate sequence-diagram image from spec-text file (similar to Graphviz)";
homepage = http://blockdiag.com/;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
};
scipy = buildPythonPackage rec {
name = "scipy-0.9.0";