2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
python-json-logger,
|
|
|
|
setuptools,
|
|
|
|
setuptools-scm,
|
2023-03-15 16:39:30 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "daiquiri";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "3.2.5.1";
|
2024-01-13 08:15:51 +00:00
|
|
|
pyproject = true;
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-Xy6G1vyovDjR6a36YFGE32/eo3AuB8oC0Wqj0AQ7Luw=";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2024-01-13 08:15:51 +00:00
|
|
|
setuptools
|
2023-03-15 16:39:30 +00:00
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ python-json-logger ];
|
2023-03-15 16:39:30 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "daiquiri" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library to configure Python logging easily";
|
|
|
|
homepage = "https://github.com/Mergifyio/daiquiri";
|
|
|
|
license = licenses.asl20;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
}
|