nixpkgs/pkgs/development/python-modules/aliyun-python-sdk-kms/default.nix

39 lines
863 B
Nix

{ lib
, aliyun-python-sdk-core
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aliyun-python-sdk-kms";
version = "2.16.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-+HI0qLZNRXyiM4+HZQ2xijzn99vJv+9x7+jyiUre09Y=";
};
propagatedBuildInputs = [
aliyun-python-sdk-core
];
# All components are stored in a mono repo
doCheck = false;
pythonImportsCheck = [
"aliyunsdkkms"
];
meta = with lib; {
description = "KMS module of Aliyun Python SDK";
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-kms/ChangeLog.txt";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}