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