mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
30 lines
852 B
Nix
30 lines
852 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pep8, nose, unittest2, docutils, blockdiag }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "actdiag";
|
|
version = "0.5.4";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
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 ];
|
|
};
|
|
}
|