1{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils 2, blockdiag 3}: 4 5buildPythonPackage rec { 6 pname = "seqdiag"; 7 version = "0.9.6"; 8 name = pname + "-" + version; 9 10 src = fetchurl { 11 url = "mirror://pypi/s/seqdiag/${name}.tar.gz"; 12 sha256 = "78104e7644c1a4d3a5cacb68de6a7f720793f08dd78561ef0e9e80bed63702bf"; 13 }; 14 15 buildInputs = [ pep8 nose unittest2 docutils ]; 16 17 propagatedBuildInputs = [ blockdiag ]; 18 19 # Tests fail: 20 # ... 21 # ERROR: Failure: OSError ([Errno 2] No such file or directory: '/tmp/nix-build-python2.7-seqdiag-0.9.0.drv-0/seqdiag-0.9.0/src/seqdiag/tests/diagrams/') 22 doCheck = false; 23 24 meta = with stdenv.lib; { 25 description = "Generate sequence-diagram image from spec-text file (similar to Graphviz)"; 26 homepage = http://blockdiag.com/; 27 license = licenses.asl20; 28 platforms = platforms.linux; 29 maintainers = with maintainers; [ bjornfor ]; 30 }; 31}