Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / cloudsmith-api / default.nix
blobe49a0eb5f92f4a4768883119f67edbd6640a4b7a
1 { lib
2 , buildPythonPackage
3 , certifi
4 , fetchPypi
5 , python-dateutil
6 , pythonOlder
7 , six
8 , urllib3
9 }:
11 buildPythonPackage rec {
12   pname = "cloudsmith-api";
13   version = "2.0.13";
14   format = "wheel";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     pname = "cloudsmith_api";
20     inherit format version;
21     hash = "sha256-xPPARaxclTRy7thJXtXaMK0F5/91q7o35LyzSmx1HPU=";
22   };
24   propagatedBuildInputs = [
25     certifi
26     python-dateutil
27     six
28     urllib3
29   ];
31   # Wheels have no tests
32   doCheck = false;
34   pythonImportsCheck = [
35     "cloudsmith_api"
36   ];
38   meta = with lib; {
39     description = "Cloudsmith API Client";
40     homepage = "https://github.com/cloudsmith-io/cloudsmith-api";
41     license = licenses.asl20;
42     maintainers = with maintainers; [ ];
43   };