mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
Merge pull request #59072 from dhl/pythonPackages.serverlessrepo
pythonPackages.serverlessrepo: init at 0.1.8
This commit is contained in:
commit
0100fe974f
42
pkgs/development/python-modules/serverlessrepo/default.nix
Normal file
42
pkgs/development/python-modules/serverlessrepo/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -4203,6 +4203,8 @@ in {
|
||||
|
||||
setuptools_scm = callPackage ../development/python-modules/setuptools_scm { };
|
||||
|
||||
serverlessrepo = callPackage ../development/python-modules/serverlessrepo { };
|
||||
|
||||
shippai = callPackage ../development/python-modules/shippai {};
|
||||
|
||||
simanneal = callPackage ../development/python-modules/simanneal { };
|
||||
|
Loading…
Reference in New Issue
Block a user