diff options
author | wisut hantanong <wizzup@gmail.com> | 2017-07-19 15:59:47 +0700 |
---|---|---|
committer | wisut hantanong <wizzup@gmail.com> | 2017-07-19 15:59:47 +0700 |
commit | c21e915c972116b29bcf10c44f469f8036aa2aa5 (patch) | |
tree | c0f992e35d5725810242f008bd2c3f5fba00f7e9 /pkgs/development/python-modules | |
parent | fd174245806f77dd15a8617a14a3af864703d19f (diff) |
python.pkgs.actdiag : move to separate expression
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/actdiag/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/actdiag/default.nix b/pkgs/development/python-modules/actdiag/default.nix new file mode 100644 index 0000000000000..064e5e6c11a34 --- /dev/null +++ b/pkgs/development/python-modules/actdiag/default.nix @@ -0,0 +1,29 @@ +{ stdenv, buildPythonPackage, fetchPypi +, pep8, nose, unittest2, docutils, blockdiag }: + +buildPythonPackage rec { + pname = "actdiag"; + version = "0.5.3"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1vr4hnkr0gcvvpaycd8q3vcx029b2f5yv8swhdr8kwspaqb0dvfa"; + }; + + 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 ]; + }; +} |