Skip to content

Commit

Permalink
pythonPackages.cfn-flip: 1.1.0.post1 -> 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kamadorueda committed Jan 26, 2020
1 parent b4587bc commit 2ac399c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 13 deletions.
54 changes: 42 additions & 12 deletions pkgs/development/python-modules/cfn-flip/default.nix
Original file line number Diff line number Diff line change
@@ -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
];

checkInputs = [
pytest
pytestcov
pytestrunner
];

# No tests in Pypi
doCheck = false;
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
];
};
}
1 change: 0 additions & 1 deletion pkgs/development/python-modules/fluidasserts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit 2ac399c

Please sign in to comment.