mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-14 04:38:56 +00:00
47 lines
1.0 KiB
Nix
47 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
aiofiles,
|
|
alibabacloud-credentials-api,
|
|
alibabacloud-tea,
|
|
apscheduler,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "alibabacloud-credentials";
|
|
version = "1.0.9";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "alibabacloud_credentials";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-Ea1iBs4rrMW0ul8ses/sk9cERN/i4sBlyAF1EugoAZs=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "aiofiles" ];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
alibabacloud-credentials-api
|
|
alibabacloud-tea
|
|
apscheduler
|
|
];
|
|
|
|
pythonImportsCheck = [ "alibabacloud_credentials" ];
|
|
|
|
# Module has only tests in the untagged upstream repo
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Aliyun Credentials Library for Python";
|
|
homepage = "https://github.com/aliyun/credentials-python";
|
|
changelog = "https://github.com/aliyun/credentials-python/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|