ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / netdata / default.nix
blob660f2bd19fa7f0243031c35df56132550ca7897b
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , poetry-core
6 , httpx
7 , pytest-asyncio
8 , pytest-httpx
9 , pytestCheckHook
10 , yarl
13 buildPythonPackage rec {
14   pname = "netdata";
15   version = "1.0.3";
16   format = "pyproject";
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "home-assistant-ecosystem";
22     repo = "python-netdata";
23     rev = version;
24     sha256 = "sha256-vrXXvCoZ1jErlxTcjGbtA8Uio7UDxnt3aNb9FQ0PkrU=";
25   };
27   nativeBuildInputs = [
28     poetry-core
29   ];
31   propagatedBuildInputs = [
32     httpx
33     yarl
34   ];
36   checkInputs = [
37     pytest-asyncio
38     pytest-httpx
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "netdata"
44   ];
46   meta = with lib; {
47     description = "Python API for interacting with Netdata";
48     homepage = "https://github.com/home-assistant-ecosystem/python-netdata";
49     license = with licenses; [ mit ];
50     maintainers = with maintainers; [ fab ];
51   };