2022-04-27 09:35:20 +00:00
|
|
|
{ lib , python, buildPythonPackage , fetchPypi, typing-extensions }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "treelog";
|
|
|
|
version = "1.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0hnivz4p4llky6djxgcsr9r3j4vr46mkjvp0ksybhpx0fsnhdi81";
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "treelog" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Logging framework that organizes messages in a tree structure";
|
|
|
|
homepage = "https://github.com/evalf/treelog";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.Scriptkiddi ];
|
|
|
|
};
|
|
|
|
}
|