depot/third_party/nixpkgs/pkgs/development/python-modules/altgraph/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

40 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools
}:
buildPythonPackage rec {
pname = "altgraph";
version = "0.17.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-G1r7uY9sTcrbLirmq5+plLu4wddfT6ltNA+UN65FRAY=";
};
dependencies = [
# setuptools in dependencies is intentional
# https://github.com/ronaldoussoren/altgraph/issues/21
setuptools
];
pythonImportsCheck = [ "altgraph" ];
meta = with lib; {
changelog = "https://github.com/ronaldoussoren/altgraph/tags${version}";
description = "Fork of graphlib: a graph (network) package for constructing graphs";
longDescription = ''
altgraph is a fork of graphlib: a graph (network) package for constructing graphs,
BFS and DFS traversals, topological sort, shortest paths, etc. with graphviz output.
altgraph includes some additional usage of Python 2.6+ features and enhancements related to modulegraph and macholib.
'';
homepage = "https://altgraph.readthedocs.io/";
downloadPage = "https://pypi.org/project/altgraph/";
license = licenses.mit;
maintainers = with maintainers; [ septem9er ];
};
}