blob: 64aab5d59838a6dc390823930eabde570d0f9eec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
python-json-logger,
setuptools,
}:
buildPythonPackage rec {
pname = "logmatic-python";
version = "0.1.7";
pyproject = true;
src = fetchFromGitHub {
owner = "logmatic";
repo = "logmatic-python";
tag = version;
hash = "sha256-UYKm00KhXnPQDkKJVm7s0gOwZ3GNY07O0oKbzPhAdVE=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ python-json-logger ];
# Only functional tests, no unit tests
doCheck = false;
pythonImportsCheck = [ "logmatic" ];
meta = {
description = "Python helpers to send logs to Logmatic.io";
homepage = "https://github.com/logmatic/logmatic-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|