depot/third_party/nixpkgs/pkgs/development/python-modules/cloudsmith-api/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

44 lines
778 B
Nix

{ lib
, buildPythonPackage
, certifi
, fetchPypi
, python-dateutil
, pythonOlder
, six
, urllib3
}:
buildPythonPackage rec {
pname = "cloudsmith-api";
version = "2.0.1";
format = "wheel";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "cloudsmith_api";
inherit format version;
hash = "sha256-wFSHlUdZTARsAV3igVXThrXoGsPUaZyzXBJCSJFZYYQ=";
};
propagatedBuildInputs = [
certifi
python-dateutil
six
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 ];
};
}