nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python312Packages.typed-settings: format with nixfmt

+25 -42
+25 -42
pkgs/development/python-modules/typed-settings/default.nix
··· 1 - { lib 2 - , attrs 3 - , buildPythonPackage 4 - , cattrs 5 - , click 6 - , click-option-group 7 - , fetchPypi 8 - , hatchling 9 - , jinja2 10 - , pydantic 11 - , pytestCheckHook 12 - , pythonOlder 13 - , tomli 14 - , typing-extensions 1 + { 2 + lib, 3 + attrs, 4 + buildPythonPackage, 5 + cattrs, 6 + click, 7 + click-option-group, 8 + fetchPypi, 9 + hatchling, 10 + jinja2, 11 + pydantic, 12 + pytestCheckHook, 13 + pythonOlder, 14 + tomli, 15 + typing-extensions, 15 16 }: 16 17 17 18 buildPythonPackage rec { ··· 28 27 hash = "sha256-BuosfIlCgCD+h7eA/6/oE98zdURaT3eik+dysBpJR+Y="; 29 28 }; 30 29 31 - build-system = [ 32 - hatchling 33 - ]; 30 + build-system = [ hatchling ]; 34 31 35 - dependencies = lib.optionals (pythonOlder "3.11") [ 36 - tomli 37 - ]; 32 + dependencies = lib.optionals (pythonOlder "3.11") [ tomli ]; 38 33 39 34 passthru.optional-dependencies = { 40 35 all = [ ··· 41 44 jinja2 42 45 pydantic 43 46 ]; 44 - attrs = [ 45 - attrs 46 - ]; 47 - cattrs = [ 48 - cattrs 49 - ]; 50 - click = [ 51 - click 52 - ]; 47 + attrs = [ attrs ]; 48 + cattrs = [ cattrs ]; 49 + click = [ click ]; 53 50 option-groups = [ 54 51 click 55 52 click-option-group 56 53 ]; 57 - jinja = [ 58 - jinja2 59 - ]; 60 - pydantic = [ 61 - pydantic 62 - ]; 54 + jinja = [ jinja2 ]; 55 + pydantic = [ pydantic ]; 63 56 }; 64 57 65 58 nativeCheckInputs = [ ··· 57 70 typing-extensions 58 71 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 59 72 60 - pytestFlagsArray = [ 61 - "tests" 62 - ]; 73 + pytestFlagsArray = [ "tests" ]; 63 74 64 75 disabledTests = [ 65 76 # AssertionError: assert [OptionInfo(p... ··· 72 87 "tests/test_onepassword.py" 73 88 ]; 74 89 75 - pythonImportsCheck = [ 76 - "typed_settings" 77 - ]; 90 + pythonImportsCheck = [ "typed_settings" ]; 78 91 79 92 meta = with lib; { 80 93 description = "Typed settings based on attrs classes"; 81 94 homepage = "https://gitlab.com/sscherfke/typed-settings"; 82 95 changelog = "https://gitlab.com/sscherfke/typed-settings/-/blob/${version}/CHANGELOG.rst"; 83 - license = lib.licenses.mit; 96 + license = licenses.mit; 84 97 maintainers = with maintainers; [ ]; 85 98 }; 86 99 }