2021-05-03 20:48:10 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, certifi
|
|
|
|
, six
|
2021-07-04 02:40:35 +00:00
|
|
|
, python-dateutil
|
2021-05-03 20:48:10 +00:00
|
|
|
, urllib3
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cloudsmith-api";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "0.57.1";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "cloudsmith_api";
|
|
|
|
inherit format version;
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "6e7b4baacdc93df93c93d83db7628854adadc63915515022ed44cde06e13c986";
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
certifi
|
|
|
|
six
|
2021-07-04 02:40:35 +00:00
|
|
|
python-dateutil
|
2021-05-03 20:48:10 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|