nixpkgs-suyu/pkgs/development/python-modules/actdiag/default.nix

30 lines
852 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
, pep8, nose, unittest2, docutils, blockdiag }:
buildPythonPackage rec {
pname = "actdiag";
2017-07-28 16:49:08 +02:00
version = "0.5.4";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-07-28 16:49:08 +02:00
sha256 = "983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af";
};
buildInputs = [ pep8 nose unittest2 docutils ];
propagatedBuildInputs = [ blockdiag ];
# One test fails:
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u3042' in position 0: ordinal not in range(128)
doCheck = false;
meta = with stdenv.lib; {
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
homepage = http://blockdiag.com/;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
}