2023-02-02 18:25:31 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
2021-05-03 20:48:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "cloudsmith-cli";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.35.2";
|
2021-05-03 20:48:10 +00:00
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
|
|
pname = "cloudsmith_cli";
|
|
|
|
inherit format version;
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-+M4CPveS9dltMI291Atm84T/cf4dPOO3wPvPI15E73Y=";
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
click
|
|
|
|
click-configfile
|
|
|
|
click-didyoumean
|
|
|
|
click-spinner
|
|
|
|
cloudsmith-api
|
|
|
|
colorama
|
|
|
|
future
|
|
|
|
requests
|
2021-07-24 12:14:16 +00:00
|
|
|
requests-toolbelt
|
2021-05-03 20:48:10 +00:00
|
|
|
semver
|
|
|
|
simplejson
|
|
|
|
six
|
|
|
|
setuptools # needs pkg_resources
|
|
|
|
];
|
|
|
|
|
|
|
|
# Wheels have no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"cloudsmith_cli"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-05-03 20:48:10 +00:00
|
|
|
homepage = "https://help.cloudsmith.io/docs/cli/";
|
|
|
|
description = "Cloudsmith Command Line Interface";
|
2023-02-02 18:25:31 +00:00
|
|
|
changelog = "https://github.com/cloudsmith-io/cloudsmith-cli/blob/v${version}/CHANGELOG.md";
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2023-02-02 18:25:31 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = with platforms; unix;
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
}
|