-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.cfn-flip: 1.1.0.post1 -> 1.2.2
- Loading branch information
1 parent
b4587bc
commit 2ac399c
Showing
2 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters