depot/third_party/nixpkgs/pkgs/development/python-modules/cloudsmith-api/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

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 ];
};
}