Skip to content

Commit

Permalink
python3Packages.sapi-python-client: fix build (#355836)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Nov 15, 2024
2 parents 4f7829a + f73153d commit 25eb70c
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions pkgs/development/python-modules/kbcstorage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
setuptools-git-versioning,
setuptools-scm,
urllib3,
google-auth,
google-cloud-storage,
}:

buildPythonPackage rec {
Expand All @@ -33,19 +35,26 @@ buildPythonPackage rec {
--replace-fail "urllib3<2.0.0" "urllib3"
'';

nativeBuildInputs = [
build-system = [
setuptools
setuptools-git-versioning
setuptools-scm
];

propagatedBuildInputs = [
pythonRelaxDeps = [
"google-cloud-storage"
"google-auth"
];

dependencies = [
azure-storage-blob
boto3
python-dotenv
requests
responses
urllib3
google-auth
google-cloud-storage
];

# Requires API token and an active Keboola bucket
Expand All @@ -59,11 +68,11 @@ buildPythonPackage rec {
"kbcstorage.tables"
];

meta = with lib; {
meta = {
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}";
license = licenses.mit;
maintainers = with maintainers; [ mrmebelman ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mrmebelman ];
};
}

0 comments on commit 25eb70c

Please sign in to comment.