2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 16:30:20 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "toposort";
|
2021-10-03 19:55:48 +01:00
|
|
|
version = "1.7";
|
|
|
|
format = "pyproject";
|
2018-10-29 16:30:20 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-03 19:55:48 +01:00
|
|
|
sha256 = "sha256-3cIYLEKRKkQFEb1/9dPmocq8Osy8Z0oyWMjEHL+7ISU=";
|
2018-10-29 16:30:20 +00:00
|
|
|
};
|
|
|
|
|
2021-10-03 19:55:48 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"toposort"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 16:30:20 +00:00
|
|
|
description = "A topological sort algorithm";
|
2021-10-03 19:55:48 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/toposort/";
|
2018-10-29 16:30:20 +00:00
|
|
|
maintainers = with maintainers; [ tstrobel ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2018-10-29 16:30:20 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|