python.pkgs.actdiag : move to separate expression
This commit is contained in:
parent
fd17424580
commit
c21e915c97
pkgs
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -272,30 +272,7 @@ in {
|
||||||
|
|
||||||
acme-tiny = callPackage ../development/python-modules/acme-tiny { };
|
acme-tiny = callPackage ../development/python-modules/acme-tiny { };
|
||||||
|
|
||||||
actdiag = buildPythonPackage rec {
|
actdiag = callPackage ../development/python-modules/actdiag { };
|
||||||
name = "actdiag-0.5.3";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/a/actdiag/${name}.tar.gz";
|
|
||||||
sha256 = "1vr4hnkr0gcvvpaycd8q3vcx029b2f5yv8swhdr8kwspaqb0dvfa";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ pep8 nose unittest2 docutils ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ blockdiag ];
|
|
||||||
|
|
||||||
# One test fails:
|
|
||||||
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u3042' in position 0: ordinal not in range(128)
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
adal = buildPythonPackage rec {
|
adal = buildPythonPackage rec {
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
|
|
Loading…
Reference in New Issue