nixpkgs/pkgs/development/python-modules/pydot/default.nix

28 lines
624 B
Nix
Raw Normal View History

2017-05-03 07:42:24 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, chardet
, pyparsing
, graphviz
}:
buildPythonPackage rec {
pname = "pydot";
2017-12-30 11:26:02 +00:00
version = "1.2.4";
2017-05-03 07:42:24 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-12-30 11:26:02 +00:00
sha256 = "92d2e2d15531d00710f2d6fb5540d2acabc5399d464f2f20d5d21073af241eb6";
2017-05-03 07:42:24 +01:00
};
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";
license = lib.licenses.mit;
2017-05-03 07:42:24 +01:00
};
}