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