542eff225d
Fix compatibility with latest cloudsmith-api.
43 lines
866 B
Nix
43 lines
866 B
Nix
{ python3
|
|
, lib
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "cloudsmith-cli";
|
|
version = "0.32.0";
|
|
|
|
format = "wheel";
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
pname = "cloudsmith_cli";
|
|
inherit format version;
|
|
sha256 = "ZETVtRlzd9KUOeDyAH0MnnIy1WtGLVBm+bActUM4zBw=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
click
|
|
click-configfile
|
|
click-didyoumean
|
|
click-spinner
|
|
cloudsmith-api
|
|
colorama
|
|
future
|
|
requests
|
|
requests-toolbelt
|
|
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;
|
|
};
|
|
}
|