2021-05-03 20:48:10 +00:00
|
|
|
{ python3
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "cloudsmith-cli";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "0.32.0";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
|
|
pname = "cloudsmith_cli";
|
|
|
|
inherit format version;
|
2022-05-18 14:49:53 +00:00
|
|
|
sha256 = "ZETVtRlzd9KUOeDyAH0MnnIy1WtGLVBm+bActUM4zBw=";
|
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;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|