@@ -0,0 +1,42 @@
1+{ lib
2+, authlib
3+, buildPythonPackage
4+, fetchFromGitHub
5+, httpx
6+, pytestCheckHook
7+, pythonOlder
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "aiosenz";
12+ version = "1.0.0";
13+ format = "pyproject";
14+
15+ disabled = pythonOlder "3.8";
16+
17+ src = fetchFromGitHub {
18+ owner = "milanmeu";
19+ repo = pname;
20+ rev = version;
21+ sha256 = "sha256-ODdWPS14zzptxuS6mff51f0s1SYnIqjF40DmvT0sL0w=";
22+ };
23+
24+ propagatedBuildInputs = [
25+ httpx
26+ authlib
27+ ];
28+
29+ # Project has no tests
30+ doCheck = false;
31+
32+ pythonImportsCheck = [
33+ "aiosenz"
34+ ];
35+
36+ meta = with lib; {
37+ description = "Python wrapper for the nVent Raychem SENZ RestAPI";
38+ homepage = "https://github.com/milanmeu/aiosenz";
39+ license = with licenses; [ lgpl3Plus ];
40+ maintainers = with maintainers; [ fab ];
41+ };
42+}