depot/third_party/nixpkgs/pkgs/development/tools/cloudsmith-cli/default.nix
Default email 21cecf6002 Project import generated by Copybara.
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
2021-07-24 08:14:16 -04:00

43 lines
866 B
Nix

{ python3
, lib
}:
python3.pkgs.buildPythonApplication rec {
pname = "cloudsmith-cli";
version = "0.26.0";
format = "wheel";
src = python3.pkgs.fetchPypi {
pname = "cloudsmith_cli";
inherit format version;
sha256 = "c2W5+z+X4oRZxlNhB6for4mN4NeBX9MtEtmXhU5sz4A=";
};
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;
};
}