Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: datamodel-code-generator 0.35.0 -> 0.54.0 https://github.com/koxudaxi/datamodel-code-generator/releases attrpath: datamodel-code-generator Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/dxy91iwkdnph5izqxkzdm02mvikdkr6i-packages.json.drv building '/nix/store/dxy91iwkdnph5izqxkzdm02mvikdkr6i-packages.json.drv'... Going to be running update for following packages: - datamodel-code-generator-0.35.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - datamodel-code-generator-0.35.0: UPDATING ... - datamodel-code-generator-0.35.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/datamodel-code-generator/default.nix b/pkgs/development/python-modules/datamodel-code-generator/default.nix index 7fed821d24f6..bcfe6af30f34 100644 --- a/pkgs/development/python-modules/datamodel-code-generator/default.nix +++ b/pkgs/development/python-modules/datamodel-code-generator/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "datamodel-code-generator"; - version = "0.35.0"; + version = "0.54.0"; pyproject = true; src = fetchFromGitHub { owner = "koxudaxi"; repo = "datamodel-code-generator"; tag = version; - hash = "sha256-whhyTkX3R76idVNmY/6O9aVDU7DSvDtLq7JK0NJXn0U="; + hash = "sha256-5fDYSfXuKMuVYiHy/alLbgW4oc6RWlbwC2+7abMqIBY="; }; pythonRelaxDeps = [ No auto update branch exists Old version 0.35.0" not present in staging derivation file with contents: { lib, argcomplete, black, buildPythonPackage, fetchFromGitHub, freezegun, genson, graphql-core, hatch-vcs, hatchling, httpx, inflect, isort, jinja2, openapi-spec-validator, packaging, prance, ruff, pydantic, pytest-benchmark, pytest-mock, pytestCheckHook, pyyaml, toml, }: buildPythonPackage rec { pname = "datamodel-code-generator"; version = "0.53.0"; pyproject = true; src = fetchFromGitHub { owner = "koxudaxi"; repo = "datamodel-code-generator"; tag = version; hash = "sha256-9UXlqVikxaO3IaGwcaJYV3HY2YqlgY0zVfb0EI1bFvY="; }; pythonRelaxDeps = [ "inflect" "isort" ]; build-system = [ hatchling hatch-vcs ]; dependencies = [ argcomplete black genson inflect isort jinja2 packaging pydantic pyyaml toml ]; optional-dependencies = { graphql = [ graphql-core ]; http = [ httpx ]; ruff = [ ruff ]; validation = [ openapi-spec-validator prance ]; }; nativeCheckInputs = [ freezegun pytest-benchmark pytest-mock pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies; pythonImportsCheck = [ "datamodel_code_generator" ]; disabledTests = [ # remote testing, name resolution failure. "test_openapi_parser_parse_remote_ref" ]; meta = { description = "Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources"; homepage = "https://github.com/koxudaxi/datamodel-code-generator"; changelog = "https://github.com/koxudaxi/datamodel-code-generator/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tochiaha ]; mainProgram = "datamodel-code-generator"; }; }