3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/serverlessrepo/default.nix
David Leung 0d1ec03d1a
pythonPackages.serverlessrepo: init at 0.1.8
A Python library with convenience helpers for working with the AWS Serverless
Application Repository.
2019-04-08 15:23:26 +08:00

43 lines
847 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, boto3
, six
, pyyaml
, mock
}:
buildPythonPackage rec {
pname = "serverlessrepo";
version = "0.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "533389d41a51450e50cc01405ab766550170149c08e1c85b3a1559b0fab4cb25";
};
propagatedBuildInputs = [
six
boto3
pyyaml
];
checkInputs = [ pytest mock ];
checkPhase = ''
pytest tests/unit
'';
meta = with lib; {
homepage = https://github.com/awslabs/aws-serverlessrepo-python;
description = "Helpers for working with the AWS Serverless Application Repository";
longDescription = ''
A Python library with convenience helpers for working with the
AWS Serverless Application Repository.
'';
license = lib.licenses.asl20;
maintainers = with maintainers; [ dhkl ];
};
}