mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
[Backport release-24.11] python3Packages.sapi-python-client: fix build (#356297)
This commit is contained in:
commit
fbb21dd8a4
@ -12,6 +12,8 @@
|
|||||||
setuptools-git-versioning,
|
setuptools-git-versioning,
|
||||||
setuptools-scm,
|
setuptools-scm,
|
||||||
urllib3,
|
urllib3,
|
||||||
|
google-auth,
|
||||||
|
google-cloud-storage,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -33,19 +35,26 @@ buildPythonPackage rec {
|
|||||||
--replace-fail "urllib3<2.0.0" "urllib3"
|
--replace-fail "urllib3<2.0.0" "urllib3"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-git-versioning
|
setuptools-git-versioning
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
pythonRelaxDeps = [
|
||||||
|
"google-cloud-storage"
|
||||||
|
"google-auth"
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
azure-storage-blob
|
azure-storage-blob
|
||||||
boto3
|
boto3
|
||||||
python-dotenv
|
python-dotenv
|
||||||
requests
|
requests
|
||||||
responses
|
responses
|
||||||
urllib3
|
urllib3
|
||||||
|
google-auth
|
||||||
|
google-cloud-storage
|
||||||
];
|
];
|
||||||
|
|
||||||
# Requires API token and an active Keboola bucket
|
# Requires API token and an active Keboola bucket
|
||||||
@ -59,11 +68,11 @@ buildPythonPackage rec {
|
|||||||
"kbcstorage.tables"
|
"kbcstorage.tables"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Keboola Connection Storage API client";
|
description = "Keboola Connection Storage API client";
|
||||||
homepage = "https://github.com/keboola/sapi-python-client";
|
homepage = "https://github.com/keboola/sapi-python-client";
|
||||||
changelog = "https://github.com/keboola/sapi-python-client/releases/tag/${version}";
|
changelog = "https://github.com/keboola/sapi-python-client/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ mrmebelman ];
|
maintainers = with lib.maintainers; [ mrmebelman ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user