evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / logmatic-python / default.nix
blob1dc8ce7d024c69b636e5226358707f17d48b1538
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   python-json-logger,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "logmatic-python";
12   version = "0.1.7";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "logmatic";
19     repo = "logmatic-python";
20     rev = "refs/tags/${version}";
21     hash = "sha256-UYKm00KhXnPQDkKJVm7s0gOwZ3GNY07O0oKbzPhAdVE=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   propagatedBuildInputs = [ python-json-logger ];
28   # Only functional tests, no unit tests
29   doCheck = false;
31   pythonImportsCheck = [ "logmatic" ];
33   meta = with lib; {
34     description = "Python helpers to send logs to Logmatic.io";
35     homepage = "https://github.com/logmatic/logmatic-python";
36     license = licenses.mit;
37     maintainers = with maintainers; [ fab ];
38   };