3cbfd2b52c
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
42 lines
748 B
Nix
42 lines
748 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, certifi
|
|
, six
|
|
, python-dateutil
|
|
, urllib3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cloudsmith-api";
|
|
version = "0.57.1";
|
|
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
pname = "cloudsmith_api";
|
|
inherit format version;
|
|
sha256 = "6e7b4baacdc93df93c93d83db7628854adadc63915515022ed44cde06e13c986";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
certifi
|
|
six
|
|
python-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 ];
|
|
};
|
|
}
|