Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.diagrams 0 -> 1 attrpath: python3Packages.diagrams 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/prlgjaxrmpbjai0yh5wwspv43wyaslkz-packages.json.drv building '/nix/store/prlgjaxrmpbjai0yh5wwspv43wyaslkz-packages.json.drv'... Going to be running update for following packages: - python3.13-diagrams-0.24.4 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-diagrams-0.24.4: UPDATING ... - python3.13-diagrams-0.24.4: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/diagrams/default.nix b/pkgs/development/python-modules/diagrams/default.nix index bfd3c588822f..3b29c0c8784d 100644 --- a/pkgs/development/python-modules/diagrams/default.nix +++ b/pkgs/development/python-modules/diagrams/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "diagrams"; - version = "0.24.4"; + version = "0.25.1"; pyproject = true; src = fetchFromGitHub { owner = "mingrammer"; repo = "diagrams"; tag = "v${version}"; - hash = "sha256-N4JGrtgLgGUayFR6/xTf3GZEZjtxC/4De3ZCfRZbi6M="; + hash = "sha256-uDBmQSEn9LMT2CbR3VDhxW1ec4udXN5wZ1H1+RX/K0U="; }; patches = [ No auto update branch exists Old version 0.24.4" not present in staging derivation file with contents: { lib, buildPythonPackage, fetchFromGitHub, graphviz, imagemagick, inkscape, jinja2, hatchling, pytestCheckHook, round, }: buildPythonPackage rec { pname = "diagrams"; version = "0.25.1"; pyproject = true; src = fetchFromGitHub { owner = "mingrammer"; repo = "diagrams"; tag = "v${version}"; hash = "sha256-uDBmQSEn9LMT2CbR3VDhxW1ec4udXN5wZ1H1+RX/K0U="; }; patches = [ ./remove-black-requirement.patch ]; pythonRemoveDeps = [ "pre-commit" ]; pythonRelaxDeps = [ "graphviz" ]; preConfigure = '' patchShebangs autogen.sh ./autogen.sh ''; build-system = [ hatchling ]; # Despite living in 'tool.poetry.dependencies', # these are only used at build time to process the image resource files nativeBuildInputs = [ inkscape imagemagick jinja2 round ]; dependencies = [ graphviz ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "diagrams" ]; meta = { description = "Diagram as Code"; homepage = "https://diagrams.mingrammer.com/"; changelog = "https://github.com/mingrammer/diagrams/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ addict3d ]; }; }