python310Packages.pytest-html 0 -> 1 attrpath: python310Packages.pytest-html Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/6cxm2vg6ik9lrch2p31zq2c2g402wjd7-packages.json.drv building '/nix/store/6cxm2vg6ik9lrch2p31zq2c2g402wjd7-packages.json.drv'... Going to be running update for following packages: - python3.10-pytest-html-3.2.0 Press Enter key to continue... Running update for: - python3.10-pytest-html-3.2.0: UPDATING ... - python3.10-pytest-html-3.2.0: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/pytest-html/default.nix b/pkgs/development/python-modules/pytest-html/default.nix index f5b20cb1b508..ea302bf7127b 100644 --- a/pkgs/development/python-modules/pytest-html/default.nix +++ b/pkgs/development/python-modules/pytest-html/default.nix @@ -3,12 +3,12 @@ buildPythonPackage rec { pname = "pytest-html"; - version = "3.2.0"; + version = "4.0.2"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-xOL0uwv/xDf1GtIXSoo+cd+Bu8L2iUYE5gSvGPvmh8M="; + hash = "sha256-iGgrno5ROSRyVGpwohObJ9a8GDSkr9PkHaM8nZ+R5KQ="; }; nativeBuildInputs = [ setuptools-scm ]; No auto update branch exists Old version 3.2.0" not present in staging derivation file with contents: { lib , buildNpmPackage , buildPythonPackage , fetchPypi , pythonOlder , hatch-vcs , hatchling , jinja2 , pytest , pytest-metadata }: let pname = "pytest-html"; version = "4.0.2"; src = fetchPypi { pname = "pytest_html"; inherit version; hash = "sha256-iGgrno5ROSRyVGpwohObJ9a8GDSkr9PkHaM8nZ+R5KQ="; }; web-assets = buildNpmPackage { pname = "${pname}-web-assets"; inherit version src; npmDepsHash = "sha256-aRod+SzVSb4bqEJzthfl/mH+DpbIe+j2+dNtrrhO2xU="; installPhase = '' runHook preInstall install -Dm644 src/pytest_html/resources/{app.js,style.css} -t $out/lib runHook postInstall ''; }; in buildPythonPackage { inherit pname version src; format = "pyproject"; disabled = pythonOlder "3.6"; nativeBuildInputs = [ hatch-vcs hatchling ]; buildInputs = [ pytest web-assets ]; propagatedBuildInputs = [ jinja2 pytest-metadata ]; env.HATCH_BUILD_NO_HOOKS = true; preBuild = '' install -Dm644 ${web-assets}/lib/{app.js,style.css} -t src/pytest_html/resources ''; # tests require network access doCheck = false; pythonImportsCheck = [ "pytest_html" ]; meta = with lib; { description = "Plugin for generating HTML reports"; homepage = "https://github.com/pytest-dev/pytest-html"; license = licenses.mpl20; maintainers = with maintainers; [ mpoquet ]; }; }