Merge pull request #212456 from fabaff/cloudsmith-api-fix

cloudsmith-cli: 0.32.0 -> 0.35.2
This commit is contained in:
Weijia Wang 2023-01-27 11:58:02 +01:00 committed by GitHub
commit 7eb6baebbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 15 deletions

View File

@ -1,28 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, certifi
, six
, fetchPypi
, python-dateutil
, pythonOlder
, six
, urllib3
}:
buildPythonPackage rec {
pname = "cloudsmith-api";
version = "2.0.0";
version = "2.0.1";
format = "wheel";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "cloudsmith_api";
inherit format version;
sha256 = "sha256-Mcdpmrjg5hX4BTlBgt2+jQaoCqWjNIqkBykl1iT7McA=";
hash = "sha256-wFSHlUdZTARsAV3igVXThrXoGsPUaZyzXBJCSJFZYYQ=";
};
propagatedBuildInputs = [
certifi
six
python-dateutil
six
urllib3
];

View File

@ -1,17 +1,16 @@
{ python3
, lib
{ lib
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "cloudsmith-cli";
version = "0.32.0";
version = "0.35.2";
format = "wheel";
src = python3.pkgs.fetchPypi {
pname = "cloudsmith_cli";
inherit format version;
sha256 = "ZETVtRlzd9KUOeDyAH0MnnIy1WtGLVBm+bActUM4zBw=";
hash = "sha256-+M4CPveS9dltMI291Atm84T/cf4dPOO3wPvPI15E73Y=";
};
propagatedBuildInputs = with python3.pkgs; [
@ -33,11 +32,16 @@ python3.pkgs.buildPythonApplication rec {
# Wheels have no tests
doCheck = false;
meta = {
pythonImportsCheck = [
"cloudsmith_cli"
];
meta = with lib; {
homepage = "https://help.cloudsmith.io/docs/cli/";
description = "Cloudsmith Command Line Interface";
maintainers = with lib.maintainers; [ jtojnar ];
license = lib.licenses.asl20;
platforms = with lib.platforms; unix;
changelog = "https://github.com/cloudsmith-io/cloudsmith-cli/blob/v${version}/CHANGELOG.md";
maintainers = with maintainers; [ jtojnar ];
license = licenses.asl20;
platforms = with platforms; unix;
};
}