python312Packages.jsonargparse: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-17 08:58:37 +02:00
parent 737fb5a5ae
commit 92bd0da0a1

View File

@ -1,26 +1,27 @@
{ lib {
, argcomplete lib,
, attrs argcomplete,
, buildPythonPackage attrs,
, docstring-parser buildPythonPackage,
, fetchFromGitHub docstring-parser,
, fsspec fetchFromGitHub,
, jsonnet fsspec,
, jsonschema jsonnet,
, omegaconf jsonschema,
, pydantic omegaconf,
, pytest-subtests pydantic,
, pytestCheckHook pytest-subtests,
, pythonOlder pytestCheckHook,
, pyyaml pythonOlder,
, reconplogger pyyaml,
, requests reconplogger,
, responses requests,
, ruyaml responses,
, setuptools ruyaml,
, types-pyyaml setuptools,
, types-requests types-pyyaml,
, typeshed-client types-requests,
typeshed-client,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -37,13 +38,9 @@ buildPythonPackage rec {
hash = "sha256-iw6ntzFkvMg5baOgeUzf3qV1eGGqywINd7e6N781llQ="; hash = "sha256-iw6ntzFkvMg5baOgeUzf3qV1eGGqywINd7e6N781llQ=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [ pyyaml ];
pyyaml
];
passthru.optional-dependencies = { passthru.optional-dependencies = {
all = [ all = [
@ -57,35 +54,21 @@ buildPythonPackage rec {
typeshed-client typeshed-client
requests requests
]; ];
argcomplete = [ argcomplete = [ argcomplete ];
argcomplete fsspec = [ fsspec ];
];
fsspec = [
fsspec
];
jsonnet = [ jsonnet = [
jsonnet jsonnet
# jsonnet-binary # jsonnet-binary
]; ];
jsonschema = [ jsonschema = [ jsonschema ];
jsonschema omegaconf = [ omegaconf ];
]; reconplogger = [ reconplogger ];
omegaconf = [ ruyaml = [ ruyaml ];
omegaconf
];
reconplogger = [
reconplogger
];
ruyaml = [
ruyaml
];
signatures = [ signatures = [
docstring-parser docstring-parser
typeshed-client typeshed-client
]; ];
urls = [ urls = [ requests ];
requests
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -95,9 +78,7 @@ buildPythonPackage rec {
types-requests types-requests
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "jsonargparse" ];
"jsonargparse"
];
meta = with lib; { meta = with lib; {
description = "Module to mplement minimal boilerplate CLIs derived from various sources"; description = "Module to mplement minimal boilerplate CLIs derived from various sources";