git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.serverlessrepo: init at 0.1.8

A Python library with convenience helpers for working with the AWS Serverless Application Repository.

commit0d1ec03d1a3e70a546183e53795398ecfdbfd881 authorDavid Leung <david@davidslab.com> dateSat 6 Apr 2019, 19:50 (8 years ago) parent9e9e73b
2 files changed+44
pkgs/development/python-modules/serverlessrepo/default.nix+42 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/serverlessrepo/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pytest
5+, boto3
6+, six
7+, pyyaml
8+, mock
9+}:
10+
11+buildPythonPackage rec {
12+ pname = "serverlessrepo";
13+ version = "0.1.8";
14+
15+ src = fetchPypi {
16+ inherit pname version;
17+ sha256 = "533389d41a51450e50cc01405ab766550170149c08e1c85b3a1559b0fab4cb25";
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+}
pkgs/top-level/python-packages.nix+2
@@ -4201,6 +4201,8 @@ in {
42014201
42024202 setuptools_scm = callPackage ../development/python-modules/setuptools_scm { };
42034203
4204+ serverlessrepo = callPackage ../development/python-modules/serverlessrepo { };
4205+
42044206 shippai = callPackage ../development/python-modules/shippai {};
42054207
42064208 simanneal = callPackage ../development/python-modules/simanneal { };