2021-05-03 20:48:10 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, certifi
|
2023-02-02 18:25:31 +00:00
|
|
|
, fetchPypi
|
2021-07-04 02:40:35 +00:00
|
|
|
, python-dateutil
|
2023-02-02 18:25:31 +00:00
|
|
|
, pythonOlder
|
|
|
|
, six
|
2021-05-03 20:48:10 +00:00
|
|
|
, urllib3
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cloudsmith-api";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.0.7";
|
2021-05-03 20:48:10 +00:00
|
|
|
format = "wheel";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
pname = "cloudsmith_api";
|
|
|
|
inherit format version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-Vw5ifMJ+gwXecYjSe8QKkq+RtrBWxx3B/LdA80ZxuxU=";
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
certifi
|
2021-07-04 02:40:35 +00:00
|
|
|
python-dateutil
|
2023-02-02 18:25:31 +00:00
|
|
|
six
|
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;
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
}
|