about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/cfn-flip/default.nix
blob: ab6abc4cd6f61f4b603df1d94b6409d4be81e5e8 (plain) (blame)
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
{ lib, buildPythonPackage, fetchPypi, six, pyyaml, click, pytestrunner }:

buildPythonPackage rec {
  pname = "cfn-flip";
  version = "1.1.0.post1";

  src = fetchPypi {
    pname = "cfn_flip";
    inherit version;
    sha256 = "16r01ijjwnq06ax5xrv6mq9l00f6sgzw776kr43zjai09xsbwwck";
  };

  propagatedBuildInputs = [ six pyyaml click ];
  nativeBuildInputs = [ pytestrunner ];

  # No tests in Pypi
  doCheck = false;

  meta = with lib; {
    description = "Tool for converting AWS CloudFormation templates between JSON and YAML formats";
    homepage = https://github.com/awslabs/aws-cfn-template-flip;
    license = licenses.asl20;
    maintainers = with maintainers; [ psyanticy ];
  };
}