1 { lib, buildPythonPackage, fetchFromGitHub, python, mock, boto, pytest }:
3 buildPythonPackage rec {
4 pname = "amazon_kclpy";
7 src = fetchFromGitHub {
9 repo = "amazon-kinesis-client-python";
11 sha256 = "13iq217fg0bxafp2rl684pg1rz4jbwid8cc8ip4rim07kzn65lbg";
14 # argparse is just required for python2.6
16 substituteInPlace setup.py \
17 --replace "'argparse'," ""
20 propagatedBuildInputs = [ mock boto ];
22 checkInputs = [ pytest ];
25 ${python.interpreter} -m pytest
29 description = "Amazon Kinesis Client Library for Python";
30 homepage = "https://github.com/awslabs/amazon-kinesis-client-python";
31 license = licenses.amazonsl;
32 maintainers = with maintainers; [ psyanticy ];