Files
nixpkgs/pkgs/development/python-modules/amazon-kclpy/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
setuptools,
mock,
boto3,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "amazon-kclpy";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "awslabs";
repo = "amazon-kinesis-client-python";
tag = "v${version}";
hash = "sha256-nboEZwRlhbr176H4b6ESm3LfVZCoKz3yKrQptERsLgg=";
};
patches = [
(fetchpatch {
name = "remove-deprecated-boto.patch";
url = "https://github.com/awslabs/amazon-kinesis-client-python/commit/bd2c442cdd1b0e2c99d3471c1d3ffcc9161a7c42.patch";
hash = "sha256-5W0qItDGjx1F6IllzLH57XCpToKrAu9mTbzv/1wMXuY=";
})
];
build-system = [ setuptools ];
dependencies = [
mock
boto3
];
pythonImportsCheck = [ "amazon_kclpy" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Amazon Kinesis Client Library for Python";
homepage = "https://github.com/awslabs/amazon-kinesis-client-python";
license = licenses.asl20;
maintainers = with maintainers; [ psyanticy ];
broken = true;
};
}