ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
27 lines
592 B
Nix
27 lines
592 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, chardet
|
|
, pyparsing
|
|
, graphviz
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydot";
|
|
version = "1.2.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "92d2e2d15531d00710f2d6fb5540d2acabc5399d464f2f20d5d21073af241eb6";
|
|
};
|
|
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;
|
|
};
|
|
}
|