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