2023-02-14 17:47:58 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
python-json-logger,
|
2023-12-02 23:00:12 +00:00
|
|
|
setuptools,
|
2023-02-14 17:47:58 +00:00
|
|
|
setuptools-scm,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "daiquiri";
|
2024-01-28 13:27:50 +00:00
|
|
|
version = "3.2.5.1";
|
2023-12-02 23:00:12 +00:00
|
|
|
pyproject = true;
|
2023-02-14 17:47:58 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-28 13:27:50 +00:00
|
|
|
hash = "sha256-Xy6G1vyovDjR6a36YFGE32/eo3AuB8oC0Wqj0AQ7Luw=";
|
2023-02-14 17:47:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2023-12-02 23:00:12 +00:00
|
|
|
setuptools
|
2023-02-14 17:47:58 +00:00
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python-json-logger ];
|
|
|
|
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "daiquiri" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library to configure Python logging easily";
|
|
|
|
homepage = "https://github.com/Mergifyio/daiquiri";
|
|
|
|
license = licenses.asl20;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2023-02-14 17:47:58 +00:00
|
|
|
};
|
|
|
|
}
|