pythonPackages.blockdiag: move to python-modules/
This commit is contained in:
parent
36ff83402a
commit
4c0582d47d
30
pkgs/development/python-modules/blockdiag/default.nix
Normal file
30
pkgs/development/python-modules/blockdiag/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
|
||||||
|
, pillow, webcolors, funcparserlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "blockdiag-${version}";
|
||||||
|
version = "1.5.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://bitbucket.org/blockdiag/blockdiag/get/${version}.tar.bz2";
|
||||||
|
sha256 = "0r0qbmv0ijnqidsgm2rqs162y9aixmnkmzgnzgk52hiy7ydm4k8f";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pep8 nose unittest2 docutils ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pillow webcolors funcparserlib ];
|
||||||
|
|
||||||
|
# One test fails:
|
||||||
|
# ...
|
||||||
|
# FAIL: test_auto_font_detection (blockdiag.tests.test_boot_params.TestBootParams)
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
|
||||||
|
homepage = http://blockdiag.com/;
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ bjornfor ];
|
||||||
|
};
|
||||||
|
}
|
@ -2012,33 +2012,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
blockdiag = callPackage ../development/python-modules/blockdiag { };
|
||||||
blockdiag = buildPythonPackage rec {
|
|
||||||
name = "blockdiag-${version}";
|
|
||||||
version = "1.5.3";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://bitbucket.org/blockdiag/blockdiag/get/${version}.tar.bz2";
|
|
||||||
sha256 = "0r0qbmv0ijnqidsgm2rqs162y9aixmnkmzgnzgk52hiy7ydm4k8f";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ pep8 nose unittest2 docutils ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pillow webcolors funcparserlib ];
|
|
||||||
|
|
||||||
# One test fails:
|
|
||||||
# ...
|
|
||||||
# FAIL: test_auto_font_detection (blockdiag.tests.test_boot_params.TestBootParams)
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
|
|
||||||
homepage = http://blockdiag.com/;
|
|
||||||
license = licenses.asl20;
|
|
||||||
platforms = platforms.unix;
|
|
||||||
maintainers = with maintainers; [ bjornfor ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
bpython = callPackage ../development/python-modules/bpython {};
|
bpython = callPackage ../development/python-modules/bpython {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user