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