1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 poetry-core, 6 pydantic, 7 nix-update-script, 8}: 9 10buildPythonPackage rec { 11 pname = "pydantic-argparse-extensible"; 12 version = "1.3.6"; 13 pyproject = true; 14 15 src = fetchPypi { 16 pname = "pydantic_argparse_extensible"; 17 inherit version; 18 hash = "sha256-DLE2eFrofCDcEPrn5g/mZlxNidVXThUumWV+u+yyvOI="; 19 }; 20 21 build-system = [ 22 poetry-core 23 ]; 24 25 dependencies = [ 26 pydantic 27 ]; 28 29 pythonImportsCheck = [ 30 "pydantic_argparse_extensible" 31 ]; 32 33 passthru.updateScript = nix-update-script { }; 34 35 meta = { 36 description = "Typed wrapper around argparse using pydantic models"; 37 homepage = "https://pypi.org/project/pydantic-argparse-extensible"; 38 license = lib.licenses.mit; 39 maintainers = [ lib.maintainers._9999years ]; 40 }; 41}