Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchPypi, fetchpatch, setuptools, pycryptodome, six,}:
let version = "0.9.63";inbuildPythonPackage { pname = "bce-python-sdk"; inherit version; pyproject = true;
src = fetchPypi { pname = "bce_python_sdk"; inherit version; hash = "sha256-DIC8OsEooKFEuuO43/Hzl/QsMLNvdnfjo52N+Od7EIg="; };
patches = [ # From https://github.com/baidubce/bce-sdk-python/pull/15 . Upstream # doesn't seem to be responsive, the patch there doesn't apply cleanly on # this version, so a vendored patch was produced by running: # # git show -- setup.py baidubce # # in the Git checkout of the PR above. ./no-future.patch ];
build-system = [ setuptools ];
dependencies = [ pycryptodome six ];
pythonImportsCheck = [ "baidubce" ];
meta = { description = "Baidu Cloud Engine SDK for python"; homepage = "https://github.com/baidubce/bce-sdk-python"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ kyehn ]; };}