1{ 2 lib, 3 buildPythonPackage, 4 certifi, 5 fetchPypi, 6 python-dateutil, 7 pythonOlder, 8 six, 9 urllib3, 10}: 11 12buildPythonPackage rec { 13 pname = "cloudsmith-api"; 14 version = "2.0.21"; 15 format = "wheel"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 pname = "cloudsmith_api"; 21 inherit format version; 22 hash = "sha256-tReoNsSg90wReH/SVa2LAdy5q7DCnWJwnamisPkIuXs="; 23 }; 24 25 propagatedBuildInputs = [ 26 certifi 27 python-dateutil 28 six 29 urllib3 30 ]; 31 32 # Wheels have no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ "cloudsmith_api" ]; 36 37 meta = { 38 description = "Cloudsmith API Client"; 39 homepage = "https://github.com/cloudsmith-io/cloudsmith-api"; 40 license = lib.licenses.asl20; 41 maintainers = with lib.maintainers; [ usertam ]; 42 }; 43}