blob: 430c5ba68d63bbff9a3c54e16d73de09cdc54c0f (
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
43
|
{
lib,
authlib,
buildPythonPackage,
fetchFromGitHub,
httpx,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aiosenz";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "milanmeu";
repo = pname;
rev = version;
hash = "sha256-ODdWPS14zzptxuS6mff51f0s1SYnIqjF40DmvT0sL0w=";
};
nativeBuildInputs = [ setuptools ];
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 ];
};
}
|