pythonPackages.cfn-flip: 1.1.0.post1 -> 1.2.2
This commit is contained in:
parent
2843a7d122
commit
168b3076a7
@ -1,25 +1,55 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, six, pyyaml, click, pytestrunner }:
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, click
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytestrunner
|
||||
, pyyaml
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cfn-flip";
|
||||
version = "1.1.0.post1";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "cfn_flip";
|
||||
inherit version;
|
||||
sha256 = "16r01ijjwnq06ax5xrv6mq9l00f6sgzw776kr43zjai09xsbwwck";
|
||||
src = fetchFromGitHub {
|
||||
owner = "awslabs";
|
||||
repo = "aws-cfn-template-flip";
|
||||
rev = version;
|
||||
sha256 = "05fk725a1i3zl3idik2hxl3w6k1ln0j33j3jdq1gvy1sfyc79ifm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six pyyaml click ];
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
pyyaml
|
||||
six
|
||||
];
|
||||
|
||||
# No tests in Pypi
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytestrunner
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test \
|
||||
--cov=cfn_clean \
|
||||
--cov=cfn_flip \
|
||||
--cov=cfn_tools \
|
||||
--cov-report term-missing \
|
||||
--cov-report html
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for converting AWS CloudFormation templates between JSON and YAML formats";
|
||||
homepage = https://github.com/awslabs/aws-cfn-template-flip;
|
||||
homepage = "https://github.com/awslabs/aws-cfn-template-flip";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
psyanticy
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -75,7 +75,6 @@ buildPythonPackage rec {
|
||||
substituteInPlace ./setup.py \
|
||||
--replace 'tlslite-ng==0.8.0-alpha36' 'tlslite-ng==0.7.5' \
|
||||
--replace 'boto3==1.11.7' 'boto3==1.10.1' \
|
||||
--replace 'cfn-flip==1.2.2' 'cfn-flip==1.1.0.post1' \
|
||||
--replace 'typed-ast==1.4.1' 'typed-ast==1.4.0' \
|
||||
--replace 'pillow==7.0.0' 'pillow==6.2.1' \
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user