1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 aiohttp, 7}: 8 9buildPythonPackage rec { 10 pname = "pyfreedompro"; 11 version = "1.1.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "92812070a0c74761fa0c8cac98ddbe0bca781c8de80e2b08dbd04492e831c172"; 19 }; 20 21 propagatedBuildInputs = [ aiohttp ]; 22 23 # upstream has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "aiohttp" ]; 27 28 meta = with lib; { 29 description = "Python library for Freedompro API"; 30 homepage = "https://github.com/stefano055415/pyfreedompro"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ dotlambda ]; 33 }; 34}