nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 896 B view raw
1{ 2 lib, 3 awacs, 4 buildPythonPackage, 5 cfn-flip, 6 fetchFromGitHub, 7 unittestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "troposphere"; 12 version = "4.9.6"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "cloudtools"; 17 repo = "troposphere"; 18 tag = version; 19 hash = "sha256-eiwz1rpEhlCIvI7hrZrknbkEhDkG2SMZkN3Mk6pfuLA="; 20 }; 21 22 propagatedBuildInputs = [ cfn-flip ]; 23 24 nativeCheckInputs = [ 25 awacs 26 unittestCheckHook 27 ]; 28 29 optional-dependencies = { 30 policy = [ awacs ]; 31 }; 32 33 pythonImportsCheck = [ "troposphere" ]; 34 35 meta = { 36 description = "Library to create AWS CloudFormation descriptions"; 37 homepage = "https://github.com/cloudtools/troposphere"; 38 changelog = "https://github.com/cloudtools/troposphere/blob/${src.tag}/CHANGELOG.rst"; 39 license = lib.licenses.bsd2; 40 maintainers = with lib.maintainers; [ jlesquembre ]; 41 }; 42}