python3.pkgs.cloudsmith-api: init at 0.54.15

This commit is contained in:
Jan Tojnar 2021-05-01 13:49:59 +02:00 committed by Jonathan Ringer
parent 48152d32cc
commit af688cc00e
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, certifi
, six
, dateutil
, urllib3
}:
buildPythonPackage rec {
pname = "cloudsmith-api";
version = "0.54.15";
format = "wheel";
src = fetchPypi {
pname = "cloudsmith_api";
inherit format version;
sha256 = "X72xReosUnUlj69Gq+i+izhaKZuakM9mUrRHZI5L9h0=";
};
propagatedBuildInputs = [
certifi
six
dateutil
urllib3
];
# Wheels have no tests
doCheck = false;
pythonImportsCheck = [
"cloudsmith_api"
];
meta = with lib; {
description = "Cloudsmith API Client";
homepage = "https://github.com/cloudsmith-io/cloudsmith-api";
license = licenses.asl20;
maintainers = with maintainers; [ jtojnar ];
};
}

View file

@ -1405,6 +1405,8 @@ in {
cloudscraper = callPackage ../development/python-modules/cloudscraper { };
cloudsmith-api = callPackage ../development/python-modules/cloudsmith-api { };
clustershell = callPackage ../development/python-modules/clustershell { };
cma = callPackage ../development/python-modules/cma { };