Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 30 lines 903 B view raw
1{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils 2, blockdiag 3}: 4 5buildPythonPackage rec { 6 pname = "seqdiag"; 7 version = "0.9.6"; 8 9 src = fetchurl { 10 url = "mirror://pypi/s/seqdiag/${pname}-${version}.tar.gz"; 11 sha256 = "78104e7644c1a4d3a5cacb68de6a7f720793f08dd78561ef0e9e80bed63702bf"; 12 }; 13 14 buildInputs = [ pep8 nose unittest2 docutils ]; 15 16 propagatedBuildInputs = [ blockdiag ]; 17 18 # Tests fail: 19 # ... 20 # 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/') 21 doCheck = false; 22 23 meta = with stdenv.lib; { 24 description = "Generate sequence-diagram image from spec-text file (similar to Graphviz)"; 25 homepage = http://blockdiag.com/; 26 license = licenses.asl20; 27 platforms = platforms.unix; 28 maintainers = with maintainers; [ bjornfor ]; 29 }; 30}