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