pythonPackages.pydot: fix build

This commit is contained in:
Frederik Rietdijk 2017-05-03 08:42:24 +02:00
parent d317e834c1
commit 97630b21c9
2 changed files with 28 additions and 14 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, chardet
, pyparsing
, graphviz
}:
buildPythonPackage rec {
pname = "pydot";
version = "1.2.3";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "edb5d3f249f97fbd9c4bb16959e61bc32ecf40eee1a9f6d27abe8d01c0a73502";
};
checkInputs = [ chardet ];
# No tests in archive
doCheck = false;
propagatedBuildInputs = [pyparsing graphviz];
meta = {
homepage = https://github.com/erocarrera/pydot;
description = "Allows to easily create both directed and non directed graphs from Python";
licenses = with lib.licenses; [ mit ];
};
}

View file

@ -19838,20 +19838,7 @@ in {
};
});
pydot = buildPythonPackage rec {
name = "pydot-1.2.3";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/p/pydot/${name}.tar.gz";
sha256 = "edb5d3f249f97fbd9c4bb16959e61bc32ecf40eee1a9f6d27abe8d01c0a73502";
};
propagatedBuildInputs = with self; [pyparsing pkgs.graphviz];
meta = {
homepage = https://github.com/erocarrera/pydot;
description = "Allows to easily create both directed and non directed graphs from Python";
};
};
pydot = callPackage ../development/python-modules/pydot { };
pydot_ng = buildPythonPackage rec {
name = "pydot_ng-1.0.0";