depot/third_party/nixpkgs/pkgs/development/python-modules/cloudsmith-api/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

42 lines
734 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, certifi
, six
, python-dateutil
, urllib3
}:
buildPythonPackage rec {
pname = "cloudsmith-api";
version = "2.0.0";
format = "wheel";
src = fetchPypi {
pname = "cloudsmith_api";
inherit format version;
sha256 = "sha256-Mcdpmrjg5hX4BTlBgt2+jQaoCqWjNIqkBykl1iT7McA=";
};
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 ];
};
}