5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
42 lines
736 B
Nix
42 lines
736 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, certifi
|
|
, six
|
|
, python-dateutil
|
|
, urllib3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cloudsmith-api";
|
|
version = "1.142.3";
|
|
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
pname = "cloudsmith_api";
|
|
inherit format version;
|
|
sha256 = "sha256-Cdnsath9p+LPKKzV4cmoOtl4doahi86l1NIgUwliZRU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|