@@ -0,0 +1,43 @@
1+{ python3
2+, lib
3+}:
4+
5+python3.pkgs.buildPythonApplication rec {
6+ pname = "cloudsmith-cli";
7+ version = "0.26.0";
8+
9+ format = "wheel";
10+
11+ src = python3.pkgs.fetchPypi {
12+ pname = "cloudsmith_cli";
13+ inherit format version;
14+ sha256 = "c2W5+z+X4oRZxlNhB6for4mN4NeBX9MtEtmXhU5sz4A=";
15+ };
16+
17+ propagatedBuildInputs = with python3.pkgs; [
18+ click
19+ click-configfile
20+ click-didyoumean
21+ click-spinner
22+ cloudsmith-api
23+ colorama
24+ future
25+ requests
26+ requests_toolbelt
27+ semver
28+ simplejson
29+ six
30+ setuptools # needs pkg_resources
31+ ];
32+
33+ # Wheels have no tests
34+ doCheck = false;
35+
36+ meta = {
37+ homepage = "https://help.cloudsmith.io/docs/cli/";
38+ description = "Cloudsmith Command Line Interface";
39+ maintainers = with lib.maintainers; [ jtojnar ];
40+ license = lib.licenses.asl20;
41+ platforms = with lib.platforms; unix;
42+ };
43+}