1{ lib, buildPythonPackage, fetchPypi, six, pyyaml, click, pytestrunner }:
2
3buildPythonPackage rec {
4 pname = "cfn-flip";
5 version = "1.1.0.post1";
6
7 src = fetchPypi {
8 pname = "cfn_flip";
9 inherit version;
10 sha256 = "16r01ijjwnq06ax5xrv6mq9l00f6sgzw776kr43zjai09xsbwwck";
11 };
12
13 propagatedBuildInputs = [ six pyyaml click ];
14 nativeBuildInputs = [ pytestrunner ];
15
16 # No tests in Pypi
17 doCheck = false;
18
19 meta = with lib; {
20 description = "Tool for converting AWS CloudFormation templates between JSON and YAML formats";
21 homepage = https://github.com/awslabs/aws-cfn-template-flip;
22 license = licenses.asl20;
23 maintainers = with maintainers; [ psyanticy ];
24 };
25}