2017-10-29 14:45:15 +00:00
{ stdenv , fetchurl , buildPythonPackage , pep8 , nose , unittest2 , docutils
, blockdiag
} :
buildPythonPackage rec {
2017-11-09 11:26:09 +00:00
pname = " s e q d i a g " ;
2017-11-24 19:36:20 +00:00
version = " 0 . 9 . 5 " ;
2017-11-09 11:26:09 +00:00
name = pname + " - " + version ;
2017-10-29 14:45:15 +00:00
src = fetchurl {
url = " m i r r o r : / / p y p i / s / s e q d i a g / ${ name } . t a r . g z " ;
2017-11-24 19:36:20 +00:00
sha256 = " 9 9 4 4 0 2 c b 1 9 f e f 7 7 e e 1 1 3 d 1 8 8 1 0 a a 3 9 7 a 7 2 9 0 5 5 3 c d a 5 f 9 0 0 b e 2 b b 4 4 e 2 c 7 7 4 2 6 5 7 " ;
2017-10-29 14:45:15 +00:00
} ;
buildInputs = [ pep8 nose unittest2 docutils ] ;
propagatedBuildInputs = [ blockdiag ] ;
# Tests fail:
# ...
# 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/')
doCheck = false ;
meta = with stdenv . lib ; {
description = " G e n e r a t e s e q u e n c e - d i a g r a m i m a g e f r o m s p e c - t e x t f i l e ( s i m i l a r t o G r a p h v i z ) " ;
homepage = http://blockdiag.com/ ;
license = licenses . asl20 ;
platforms = platforms . linux ;
maintainers = with maintainers ; [ bjornfor ] ;
} ;
}