1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "altgraph";
9 version = "0.17.4";
10
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-G1r7uY9sTcrbLirmq5+plLu4wddfT6ltNA+UN65FRAY=";
16 };
17
18 pythonImportsCheck = [ "altgraph" ];
19
20 meta = with lib; {
21 changelog = "https://github.com/ronaldoussoren/altgraph/tags${version}";
22 description = "A fork of graphlib: a graph (network) package for constructing graphs";
23 longDescription = ''
24 altgraph is a fork of graphlib: a graph (network) package for constructing graphs,
25 BFS and DFS traversals, topological sort, shortest paths, etc. with graphviz output.
26 altgraph includes some additional usage of Python 2.6+ features and enhancements related to modulegraph and macholib.
27 '';
28 homepage = "https://altgraph.readthedocs.io/";
29 downloadPage = "https://pypi.org/project/altgraph/";
30 license = licenses.mit;
31 maintainers = with maintainers; [ septem9er ];
32 };
33}