about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/aiosenz/default.nix
blob: beb5618614705f24a7cee0a6bf64303e3b9b7939 (plain) (blame)
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
37
38
39
40
41
42
{ lib
, authlib
, buildPythonPackage
, fetchFromGitHub
, httpx
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "aiosenz";
  version = "1.0.0";
  format = "pyproject";

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "milanmeu";
    repo = pname;
    rev = version;
    sha256 = "sha256-ODdWPS14zzptxuS6mff51f0s1SYnIqjF40DmvT0sL0w=";
  };

  propagatedBuildInputs = [
    httpx
    authlib
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "aiosenz"
  ];

  meta = with lib; {
    description = "Python wrapper for the nVent Raychem SENZ RestAPI";
    homepage = "https://github.com/milanmeu/aiosenz";
    license = with licenses; [ lgpl3Plus ];
    maintainers = with maintainers; [ fab ];
  };
}