Merge pull request #251300 from r-ryantm/auto-update/python310Packages.troposphere
python310Packages.troposphere: 4.3.2 -> 4.4.1
This commit is contained in:
commit
212e90ce91
1 changed files with 15 additions and 16 deletions
|
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue