Merge pull request #251300 from r-ryantm/auto-update/python310Packages.troposphere

python310Packages.troposphere: 4.3.2 -> 4.4.1
This commit is contained in:
Fabian Affolter 2023-08-25 10:51:56 +02:00 committed by GitHub
commit 212e90ce91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,16 @@
{ lib { lib
, awacs
, buildPythonPackage , buildPythonPackage
, cfn-flip
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
, python
# python dependencies
, awacs
, cfn-flip
, typing-extensions , typing-extensions
, unittestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "troposphere"; pname = "troposphere";
version = "4.3.2"; version = "4.4.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -21,34 +19,35 @@ buildPythonPackage rec {
owner = "cloudtools"; owner = "cloudtools";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-8vIpwZBUdU9gD1Ya0+L1phMDMcAABtuyRx4quDfQWGA="; hash = "sha256-ecRpp8XsP/iv4G8m85qcGJXHXH4CPdgBO8c0IZU56wU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
cfn-flip cfn-flip
] ++ lib.lists.optionals (pythonOlder "3.8") [ ] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions typing-extensions
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
awacs awacs
unittestCheckHook
]; ];
passthru.optional-dependencies = { passthru.optional-dependencies = {
policy = [ awacs ]; policy = [
awacs
];
}; };
checkPhase = '' pythonImportsCheck = [
${python.interpreter} -m unittest discover "troposphere"
''; ];
pythonImportsCheck = [ "troposphere" ];
meta = with lib; { meta = with lib; {
description = "Library to create AWS CloudFormation descriptions"; description = "Library to create AWS CloudFormation descriptions";
maintainers = with maintainers; [ jlesquembre ];
license = licenses.bsd2;
homepage = "https://github.com/cloudtools/troposphere"; homepage = "https://github.com/cloudtools/troposphere";
changelog = "https://github.com/cloudtools/troposphere/blob/${version}/CHANGELOG.rst"; changelog = "https://github.com/cloudtools/troposphere/blob/${version}/CHANGELOG.rst";
license = licenses.bsd2;
maintainers = with maintainers; [ jlesquembre ];
}; };
} }