8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
42 lines
735 B
Nix
42 lines
735 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, certifi
|
|
, six
|
|
, python-dateutil
|
|
, urllib3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cloudsmith-api";
|
|
version = "1.42.3";
|
|
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
pname = "cloudsmith_api";
|
|
inherit format version;
|
|
sha256 = "sha256-P0QuKkyFk3jvYJwtul0/eUTrDyj2QKAjU/Ac+4VCYYk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|