biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / cloudsmith-cli / default.nix
blobbfdb2416bde5a3b8cb0ee4da7d54939f05383a72
1 { lib
2 , python3
3 , fetchPypi
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "cloudsmith-cli";
8   version = "1.2.3";
9   format = "wheel";
11   src = fetchPypi {
12     pname = "cloudsmith_cli";
13     inherit format version;
14     hash = "sha256-MIoRLWk6G8uchQlGOYOsg3XliZ1wMrYSOhAEQrus+fQ=";
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     mainProgram = "cloudsmith";
44     changelog = "https://github.com/cloudsmith-io/cloudsmith-cli/blob/v${version}/CHANGELOG.md";
45     maintainers = with maintainers; [ ];
46     license = licenses.asl20;
47     platforms = with platforms; unix;
48   };