mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.pydot: fix build
This commit is contained in:
parent
d317e834c1
commit
97630b21c9
2 changed files with 28 additions and 14 deletions
27
pkgs/development/python-modules/pydot/default.nix
Normal file
27
pkgs/development/python-modules/pydot/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue