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