Unverified Commit ecb41a93 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.kbcstorage: use nixpkgs-fmt

- disable on unsupported Python releases
parent d25023bd
Loading
Loading
Loading
Loading
+41 −39
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder

# build
, setuptools-scm
@@ -14,12 +15,13 @@
, responses
, unittestCheckHook
}:

buildPythonPackage rec {
  pname = "sapi-python-client";
  version = "0.5.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "keboola";
    repo = pname;
@@ -39,7 +41,7 @@ buildPythonPackage rec {
    requests
  ];

    # requires API token and an active keboola bucket
  # Requires API token and an active Keboola bucket
  # ValueError: Root URL is required.
  doCheck = false;

@@ -59,7 +61,7 @@ buildPythonPackage rec {
    description = "Keboola Connection Storage API client";
    homepage = "https://github.com/keboola/sapi-python-client";
    changelog = "https://github.com/keboola/sapi-python-client/releases/tag/${version}";
      maintainers = with maintainers; [ mrmebelman ];
    license = licenses.mit;
    maintainers = with maintainers; [ mrmebelman ];
  };
}