blob: cddb2f37071fc9ee4eb436c4464d83ae500f660d (
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
44
45
46
47
|
{ lib
, authlib
, buildPythonPackage
, fetchFromGitHub
, httpx
, pytestCheckHook
, 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 ];
};
}
|