1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, python-json-logger
6, setuptools-scm
7}:
8
9buildPythonPackage rec {
10 pname = "daiquiri";
11 version = "3.2.1";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-QIxNKOyPDqI+llN0R5gpvSI2TQwI15HL63u6JFlj4P0=";
17 };
18
19 nativeBuildInputs = [
20 setuptools-scm
21 ];
22
23 propagatedBuildInputs = [
24 python-json-logger
25 ];
26
27 nativeCheckInputs = [
28 pytestCheckHook
29 ];
30
31 pythonImportsCheck = [ "daiquiri" ];
32
33 meta = with lib; {
34 description = "Library to configure Python logging easily";
35 homepage = "https://github.com/Mergifyio/daiquiri";
36 license = licenses.asl20;
37 maintainers = with maintainers; [ ];
38 };
39}