Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / cloudsmith-cli / default.nix
blobee3cd5ac33a3f5d2701dfae1b2e1d9574cef8b6d
1 { lib
2 , python3
3 , fetchPypi
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "cloudsmith-cli";
8   version = "0.35.2";
9   format = "wheel";
11   src = fetchPypi {
12     pname = "cloudsmith_cli";
13     inherit format version;
14     hash = "sha256-+M4CPveS9dltMI291Atm84T/cf4dPOO3wPvPI15E73Y=";
15   };
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   ];
33   # Wheels have no tests
34   doCheck = false;
36   pythonImportsCheck = [
37     "cloudsmith_cli"
38   ];
40   meta = with lib; {
41     homepage = "https://help.cloudsmith.io/docs/cli/";
42     description = "Cloudsmith Command Line Interface";
43     changelog = "https://github.com/cloudsmith-io/cloudsmith-cli/blob/v${version}/CHANGELOG.md";
44     maintainers = with maintainers; [ ];
45     license = licenses.asl20;
46     platforms = with platforms; unix;
47   };