1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5}: 6 7buildPythonPackage rec { 8 pname = "toposort"; 9 version = "1.10"; 10 format = "pyproject"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-v7tHnFPQppbqdAJgH05pPJewNng3yImLxkca38o3pr0="; 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}