1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "toposort";
8 version = "1.7";
9 format = "pyproject";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-3cIYLEKRKkQFEb1/9dPmocq8Osy8Z0oyWMjEHL+7ISU=";
14 };
15
16 pythonImportsCheck = [
17 "toposort"
18 ];
19
20 meta = with lib; {
21 description = "A topological sort algorithm";
22 homepage = "https://pypi.python.org/pypi/toposort/";
23 maintainers = with maintainers; [ tstrobel ];
24 platforms = platforms.unix;
25 license = licenses.asl20;
26 };
27}