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