Unverified Commit 2e41add9 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.google-cloud-testutils: 1.6.0 -> 1.6.4 (#409941)

parents e7791cb2 be67d3f7
Loading
Loading
Loading
Loading
+20 −17
Original line number Diff line number Diff line
@@ -2,42 +2,45 @@
  lib,
  buildPythonPackage,
  click,
  fetchPypi,
  fetchFromGitHub,
  google-auth,
  packaging,
  pythonOlder,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "google-cloud-testutils";
  version = "1.6.0";
  format = "setuptools";
  version = "1.6.4";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "google_cloud_testutils";
    inherit version;
    hash = "sha256-wuCpUpc5Iny6MFoh7u9d175wL9DWHz4ZLM1f+DE+V6U=";
  src = fetchFromGitHub {
    owner = "googleapis";
    repo = "python-test-utils";
    tag = "v${version}";
    hash = "sha256-VTu/ElWZrSUrUBrfLPTBV4PMSQCRAyF9Ka7jKEqVzLk=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    click
    google-auth
    packaging
  ];

  # does not contain tests
  doCheck = false;
  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "test_utils" ];

  meta = with lib; {
  meta = {
    description = "System test utilities for google-cloud-python";
    mainProgram = "lower-bound-checker";
    homepage = "https://github.com/googleapis/python-test-utils";
    changelog = "https://github.com/googleapis/python-test-utils/blob/v${version}/CHANGELOG.md";
    license = licenses.asl20;
    maintainers = [ ];
    changelog = "https://github.com/googleapis/python-test-utils/blob/${src.tag}/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.sarahec ];
  };
}