depot/third_party/nixpkgs/pkgs/development/python-modules/cloudsmith-api/default.nix

43 lines
735 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, certifi
, six
, python-dateutil
, urllib3
}:
buildPythonPackage rec {
pname = "cloudsmith-api";
version = "1.61.3";
format = "wheel";
src = fetchPypi {
pname = "cloudsmith_api";
inherit format version;
sha256 = "sha256-Y8CnbX9rhtk8sebJKo5kyqFwCkJgBjz3dgm58VHRPhY=";
};
propagatedBuildInputs = [
certifi
six
python-dateutil
urllib3
];
# Wheels have no tests
doCheck = false;
pythonImportsCheck = [
"cloudsmith_api"
];
meta = with lib; {
description = "Cloudsmith API Client";
homepage = "https://github.com/cloudsmith-io/cloudsmith-api";
license = licenses.asl20;
maintainers = with maintainers; [ jtojnar ];
};
}