1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, boto3
6, six
7, pyyaml
8, mock
9}:
10
11buildPythonPackage rec {
12 pname = "serverlessrepo";
13 version = "0.1.10";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "671f48038123f121437b717ed51f253a55775590f00fbab6fbc6a01f8d05c017";
18 };
19
20 propagatedBuildInputs = [
21 six
22 boto3
23 pyyaml
24 ];
25
26 checkInputs = [ pytest mock ];
27
28 checkPhase = ''
29 pytest tests/unit
30 '';
31
32 meta = with lib; {
33 homepage = "https://github.com/awslabs/aws-serverlessrepo-python";
34 description = "Helpers for working with the AWS Serverless Application Repository";
35 longDescription = ''
36 A Python library with convenience helpers for working with the
37 AWS Serverless Application Repository.
38 '';
39 license = lib.licenses.asl20;
40 maintainers = with maintainers; [ dhkl ];
41 };
42}