at master 748 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 lxml, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "pysaj"; 12 version = "0.0.16"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "fredericvl"; 19 repo = "pysaj"; 20 rev = "v${version}"; 21 hash = "sha256-7mN6GPRbXfEUfCrCrCs71SSt4x2Ch2y3a5rfXnuwVA0="; 22 }; 23 24 propagatedBuildInputs = [ 25 aiohttp 26 lxml 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "pysaj" ]; 33 34 meta = with lib; { 35 description = "Library to communicate with SAJ inverters"; 36 homepage = "https://github.com/fredericvl/pysaj"; 37 license = with licenses; [ asl20 ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}