anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / troposphere / default.nix
blobfee2015a8ab069e4cee61030e6b1dadf1c656b48
2   lib,
3   awacs,
4   buildPythonPackage,
5   cfn-flip,
6   fetchFromGitHub,
7   pythonOlder,
8   typing-extensions,
9   unittestCheckHook,
12 buildPythonPackage rec {
13   pname = "troposphere";
14   version = "4.8.3";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "cloudtools";
21     repo = pname;
22     rev = "refs/tags/${version}";
23     hash = "sha256-Mz6n7QjNvK2HEQeWCySdxioA1dD5CLUh7jCQb1Q6mdc=";
24   };
26   propagatedBuildInputs = [ cfn-flip ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
28   nativeCheckInputs = [
29     awacs
30     unittestCheckHook
31   ];
33   optional-dependencies = {
34     policy = [ awacs ];
35   };
37   pythonImportsCheck = [ "troposphere" ];
39   meta = with lib; {
40     description = "Library to create AWS CloudFormation descriptions";
41     homepage = "https://github.com/cloudtools/troposphere";
42     changelog = "https://github.com/cloudtools/troposphere/blob/${version}/CHANGELOG.rst";
43     license = licenses.bsd2;
44     maintainers = with maintainers; [ jlesquembre ];
45   };