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";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "1.142.3";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "cloudsmith_api";
|
|
|
|
inherit format version;
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-Cdnsath9p+LPKKzV4cmoOtl4doahi86l1NIgUwliZRU=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|