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";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "2.0.0";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "cloudsmith_api";
|
|
|
|
inherit format version;
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-Mcdpmrjg5hX4BTlBgt2+jQaoCqWjNIqkBykl1iT7McA=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|