blob: 0f8f92da4fdec3d179f0afaad33074213cf0e617 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
click,
fetchFromGitHub,
pytest-cov-stub,
pytestCheckHook,
pyyaml,
six,
}:
buildPythonPackage rec {
pname = "cfn-flip";
version = "1.3.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-cfn-template-flip";
rev = version;
hash = "sha256-lfhTR3+D1FvblhQGF83AB8+I8WDPBTmo+q22ksgDgt4=";
};
propagatedBuildInputs = [
click
pyyaml
six
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
disabledTests = [
# TypeError: load() missing 1 required positional argument: 'Loader'
"test_flip_to_yaml_with_longhand_functions"
"test_yaml_no_ordered_dict"
];
pythonImportsCheck = [ "cfn_flip" ];
meta = {
description = "Tool for converting AWS CloudFormation templates between JSON and YAML formats";
mainProgram = "cfn-flip";
homepage = "https://github.com/awslabs/aws-cfn-template-flip";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
kamadorueda
psyanticy
];
};
}
|